docs: fixed npm/yarn blocks (#3070)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2023-01-19 18:31:40 +02:00
1 parent b2a37109e1
commit ff319cb800
1 file changed
+2 -2
@@ -20,7 +20,7 @@ This requires additional actions related to installing the new dependency and ch
To update to the latest version of Medusa React, run the following command in your custom storefront or admin to update both Medusa React and the core package: To update to the latest version of Medusa React, run the following command in your custom storefront or admin to update both Medusa React and the core package:
```bash ```bash npm2yarn
npm update medusa-react @medusajs/medusa npm update medusa-react @medusajs/medusa
``` ```
@@ -29,7 +29,7 @@ npm update medusa-react @medusajs/medusa
As React Query v3 is not required as a peer dependency anymore, uninstall it from your custom storefront or admin: As React Query v3 is not required as a peer dependency anymore, uninstall it from your custom storefront or admin:
```bash npm2yarn ```bash npm2yarn
npm remove react-query npm uninstall react-query
``` ```
### Install Tanstack Query ### Install Tanstack Query