From 4892a0c3c3b90ed2b93c522f99a12f28baf6ffe0 Mon Sep 17 00:00:00 2001 From: awmleer Date: Tue, 9 Apr 2024 10:01:25 +0800 Subject: [PATCH] doc: fix typo --- docs/guide/how-to-migrate-from-v1-to-v2.en.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/how-to-migrate-from-v1-to-v2.en.md b/docs/guide/how-to-migrate-from-v1-to-v2.en.md index 919f6f2..552c57d 100644 --- a/docs/guide/how-to-migrate-from-v1-to-v2.en.md +++ b/docs/guide/how-to-migrate-from-v1-to-v2.en.md @@ -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 - + - + ``` It should be noted that on the same browser page, only one HoxRoot can be rendered at the same time.