SetStateAction
All checks were successful
Lint / lint (push) Successful in 11s

This commit is contained in:
Julien Valverdé
2025-01-17 21:23:06 +01:00
parent 11030ddc2b
commit 6f688db913
5 changed files with 32 additions and 5 deletions

View File

@@ -1,3 +1,5 @@
import { FetchHttpClient } from "@effect/platform"
import { Clipboard, Geolocation, Permissions } from "@effect/platform-browser"
import { createRouter, RouterProvider } from "@tanstack/react-router"
import { ReffuseRuntime } from "@thilawyn/reffuse"
import { Layer } from "effect"
@@ -7,7 +9,12 @@ import { GlobalContext } from "./reffuse"
import { routeTree } from "./routeTree.gen"
const layer = Layer.empty
const layer = Layer.empty.pipe(
Layer.provideMerge(Clipboard.layer),
Layer.provideMerge(Geolocation.layer),
Layer.provideMerge(Permissions.layer),
Layer.provideMerge(FetchHttpClient.layer),
)
const router = createRouter({ routeTree })