Skip to content

Commit 9cf49ef

Browse files
MainLayer layers
1 parent f9de951 commit 9cf49ef

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/index.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
import { Effect, Layer, ManagedRuntime } from "effect";
2-
import { BuildPokeApiUrl } from "./BuildPokeApiUrl";
32
import { PokeApi } from "./PokeApi";
4-
import { PokeApiUrl } from "./PokeApiUrl";
5-
import { PokemonCollection } from "./PokemonCollection";
63

7-
const MainLayer = Layer.mergeAll(
8-
PokeApi.Live,
9-
PokemonCollection.Live,
10-
BuildPokeApiUrl.Live,
11-
PokeApiUrl.Live
12-
);
4+
const MainLayer = Layer.mergeAll(PokeApi.Live);
135

146
const PokemonRuntime = ManagedRuntime.make(MainLayer);
157

0 commit comments

Comments
 (0)