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

This commit is contained in:
Julien Valverdé
2026-03-03 15:39:38 +01:00
parent 929f835e94
commit 8dd40d3365

View File

@@ -34,6 +34,7 @@ class AsyncFetchPostView extends Component.make("AsyncFetchPostView")(function*(
)
}).pipe(
Async.async,
Async.withOptions({ defaultFallback: <Text>Loading post...</Text> }),
Memoized.memoized,
) {}
@@ -50,9 +51,7 @@ const AsyncRouteComponent = Component.make("AsyncRouteView")(function*() {
onValueChange={flow(Array.head, Option.getOrThrow, setId)}
/>
<React.Suspense fallback={<Text>Loading...</Text>}>
<AsyncFetchPost id={id} />
</React.Suspense>
<AsyncFetchPost id={id} />
</Flex>
</Container>
)