From cdbccd35cf6881513a18c6468bb2614a453bb56f Mon Sep 17 00:00:00 2001 From: Leon Xu Date: Sat, 3 Sep 2022 12:17:50 -0700 Subject: [PATCH] doc: add Provider to render function and move the rest of the components into the Provider tag --- src/index.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/index.js b/src/index.js index 1cc3537..90d6ec3 100644 --- a/src/index.js +++ b/src/index.js @@ -9,11 +9,12 @@ import './index.css'; const root = ReactDOM.createRoot(document.getElementById('root')); root.render( - - - - - - - + + + + + + + + );