From ff319cb8001990f39c67c1164e2d0f882ba210b3 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Thu, 19 Jan 2023 18:31:40 +0200 Subject: [PATCH] docs: fixed npm/yarn blocks (#3070) --- .../advanced/backend/upgrade-guides/medusa-react/4-0-2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/advanced/backend/upgrade-guides/medusa-react/4-0-2.md b/docs/content/advanced/backend/upgrade-guides/medusa-react/4-0-2.md index a3772903b5..1fa5225963 100644 --- a/docs/content/advanced/backend/upgrade-guides/medusa-react/4-0-2.md +++ b/docs/content/advanced/backend/upgrade-guides/medusa-react/4-0-2.md @@ -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: -```bash +```bash npm2yarn 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: ```bash npm2yarn -npm remove react-query +npm uninstall react-query ``` ### Install Tanstack Query