Skip to content

Commit

Permalink
Merge branch 'main' into request-event-locals
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Dec 5, 2024
2 parents 94de6d9 + dea3596 commit 3b17be1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/routes/configuration/typescript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,9 @@ return <div>{user()?.name}</div>;

return (
<div>
<Show when={user()}>{(nonNullishUser) => nonNullishUser().name}</Show>
<Show when={user()}>{(nonNullishUser) => <>
{nonNullishUser().name}
</>}</Show>
</div>
);
```
Expand Down

0 comments on commit 3b17be1

Please sign in to comment.