Skip to content

Commit

Permalink
doc: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
awmleer committed Apr 9, 2024
1 parent a7ed356 commit 4892a0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guide/how-to-migrate-from-v1-to-v2.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ createGlobalStore(() => useCounter(5))
In the v2 version of hox, the global Store needs to be collected and executed through the `HoxRoot` component, so you need to wrap a `HoxRoot` in the outermost layer of the entire application:

```jsx
<HotRoot>
<HoxRoot>
<App />
</HotRoot>
</HoxRoot>
```

It should be noted that on the same browser page, only one HoxRoot can be rendered at the same time.
Expand Down

0 comments on commit 4892a0c

Please sign in to comment.