We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MainLayer
1 parent f9de951 commit 9cf49efCopy full SHA for 9cf49ef
src/index.ts
@@ -1,15 +1,7 @@
1
import { Effect, Layer, ManagedRuntime } from "effect";
2
-import { BuildPokeApiUrl } from "./BuildPokeApiUrl";
3
import { PokeApi } from "./PokeApi";
4
-import { PokeApiUrl } from "./PokeApiUrl";
5
-import { PokemonCollection } from "./PokemonCollection";
6
7
-const MainLayer = Layer.mergeAll(
8
- PokeApi.Live,
9
- PokemonCollection.Live,
10
- BuildPokeApiUrl.Live,
11
- PokeApiUrl.Live
12
-);
+const MainLayer = Layer.mergeAll(PokeApi.Live);
13
14
const PokemonRuntime = ManagedRuntime.make(MainLayer);
15
0 commit comments