API update

This commit is contained in:
Julien Valverdé
2025-02-25 14:48:58 +01:00
parent 8754020323
commit 44de864713
8 changed files with 42 additions and 44 deletions

View File

@@ -10,7 +10,7 @@ export const Route = createFileRoute("/lazyref")({
})
function RouteComponent() {
const promise = R.usePromise(LazyRef.of(0))
const promise = R.usePromise(() => LazyRef.of(0))
return (
<Suspense fallback={<Text>Loading...</Text>}>