We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54445ec commit fbfe5f6Copy full SHA for fbfe5f6
packages/solid-router/src/awaited.tsx
@@ -30,14 +30,7 @@ export function Await<T>(
30
children: (result: T) => SolidNode
31
},
32
) {
33
- const [resource] = Solid.createResource(
34
- () => defer(props.promise),
35
- // Simple passthrough - just return the promise for Solid to await
36
- (p) => p,
37
- {
38
- deferStream: true,
39
- },
40
- )
+ const [resource] = Solid.createResource(() => props.promise)
41
42
return (
43
<Solid.Show fallback={props.fallback} when={resource()}>
0 commit comments