mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
fix hydrateRoot args order (#2869)
This commit is contained in:
parent
f540ca8294
commit
9281ec1990
@ -148,7 +148,7 @@ import ReactDOMClient from 'react-dom/client'
|
||||
|
||||
import { App } from './app.tsx'
|
||||
|
||||
ReactDOMClient.hydrateRoot(<App />, document)
|
||||
ReactDOMClient.hydrateRoot(document, <App />)
|
||||
```
|
||||
|
||||
```tsx
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user