Skip to content

Commit 6b800de

Browse files
authored
Fix typo in example ssr option usage (#42)
1 parent b3cec4b commit 6b800de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ by `ssr: 'initial'`:
5757

5858
```tsx
5959
export const Header = () => {
60-
const profile = useStore($profile, { ssr: true })
60+
const profile = useStore($profile, { ssr: 'initial' })
6161
// Hydrate with initial profile, then render latest client-side value
6262
return <header>{profile.name}</header>
6363
}

0 commit comments

Comments
 (0)