docs: changing shopping card to shopping cart (#8898)

* docs: changing shopping card to shopping cart

* docs: changing shoppping card to shoppint cart (retriggering builds)
This commit is contained in:
Aqueeb 2023-04-18 22:56:56 -04:00 committed by GitHub
parent f852ea631f
commit 9c7e29a157
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View file

@ -308,7 +308,7 @@ Swizzling ultimately means you have to maintain some additional React code that
## Wrapping your site with `<Root>` {#wrapper-your-site-with-root}
The `<Root>` component is rendered at the **very top** of the React tree, above the theme `<Layout>`, and **never unmounts**. It is the perfect place to add stateful logic that should not be re-initialized across navigations (user authentication status, shopping card state...).
The `<Root>` component is rendered at the **very top** of the React tree, above the theme `<Layout>`, and **never unmounts**. It is the perfect place to add stateful logic that should not be re-initialized across navigations (user authentication status, shopping cart state...).
Swizzle it **manually** by creating a file at `src/theme/Root.js`: