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

This commit is contained in:
Julien Valverdé
2025-08-09 01:38:33 +02:00
parent 8443da4235
commit 3343b245d7
3 changed files with 21 additions and 21 deletions

View File

@@ -3,7 +3,7 @@ import { Flex, Text, TextField } from "@radix-ui/themes"
import { createFileRoute } from "@tanstack/react-router"
import { GetRandomValues, makeUuid4 } from "@typed/id"
import { Effect } from "effect"
import { Component, Memoized } from "effect-fc"
import { Component, Memoized, Suspense } from "effect-fc"
import { Hooks } from "effect-fc/hooks"
import * as React from "react"
@@ -64,8 +64,8 @@ class AsyncComponent extends Component.makeUntraced(function* AsyncComponent() {
</Flex>
)
}).pipe(
// Suspense.suspense,
// Suspense.withOptions({ defaultFallback: <p>Loading...</p> }),
Suspense.suspense,
Suspense.withOptions({ defaultFallback: <p>Loading...</p> }),
) {}
class MemoizedAsyncComponent extends Memoized.memo(AsyncComponent) {}