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

This commit is contained in:
Julien Valverdé
2025-05-10 05:33:14 +02:00
parent 08af31f0b9
commit 59b7115d19

View File

@@ -22,7 +22,7 @@ function RouteComponent() {
), [])
const uuidStream = R.useStreamFromReactiveValues([uuid])
const uuidStreamLatestValue = R.useSubscribeStream(uuidStream)
const [uuidStreamLatestValue, pullUuidStream] = R.usePullStream(uuidStream)
const scope = R.useScope([uuid])
@@ -42,6 +42,7 @@ function RouteComponent() {
onNone: () => <></>,
})}
</Text>
<Button onClick={() => runSync(pullUuidStream)}>Pull UUID</Button>
</Flex>
)
}