SalesforceCommerceCloud / pwa-kit

React-based JavaScript frontend framework to create a progressive web app (PWA) storefront for Salesforce B2C Commerce.
https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/pwa-kit-overview.html
BSD 3-Clause "New" or "Revised" License
283 stars 130 forks source link

Remove incorrect usage of @chakra-ui/layout #2047

Closed kevinxh closed 3 days ago

kevinxh commented 3 days ago

Description

Remove incorrect usage of @chakra-ui/layout , this breaks generated projects.

Why did it break NOW?

My guess is that in the @chakra-ui/react included the @chakra-ui/layout package as a transient dependencies that even if retail-react-app don't install it, it worked fine. I suspect the recent releases of @chakra-ui/react package removed the dependency and caused the issue.