Fix
All checks were successful
Lint / lint (push) Successful in 14s

This commit is contained in:
Julien Valverdé
2025-05-01 16:17:01 +02:00
parent 3c604abcef
commit d5ac84b2cc
6 changed files with 20 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
import { R } from "@/reffuse"
import { createFileRoute } from "@tanstack/react-router"
import { Ref } from "effect"
import { Effect, Ref } from "effect"
export const Route = createFileRoute("/count")({
@@ -11,7 +11,7 @@ function Count() {
const runSync = R.useRunSync()
const countRef = R.useRef(0)
const countRef = R.useRef(() => Effect.succeed(0))
const [count] = R.useRefState(countRef)