From e744e614adeb0f4f1b369caf82dbd497c00d75b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Fri, 16 Jan 2026 14:19:14 +0100 Subject: [PATCH] Cleanup --- packages/example/src/routes/query.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/example/src/routes/query.tsx b/packages/example/src/routes/query.tsx index 3a35634..2092c0c 100644 --- a/packages/example/src/routes/query.tsx +++ b/packages/example/src/routes/query.tsx @@ -18,10 +18,9 @@ const ResultView = Component.makeUntraced("Result")(function*() { const [idRef, query, mutation] = yield* Component.useOnMount(() => Effect.gen(function*() { const idRef = yield* SubscriptionRef.make(1) - const key = Stream.zipLatest(Stream.make("posts" as const), idRef.changes) const query = yield* Query.service({ - key, + key: Stream.zipLatest(Stream.make("posts" as const), idRef.changes), f: ([, id]) => HttpClient.HttpClient.pipe( Effect.tap(Effect.sleep("500 millis")), Effect.andThen(client => client.get(`https://jsonplaceholder.typicode.com/posts/${ id }`)),