Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Oct 2, 2024
Merged

Conversation

kevinxh
Copy link
Collaborator

@kevinxh kevinxh commented Oct 2, 2024

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.

@kevinxh kevinxh added the skip changelog Skip the "Changelog Check" GitHub Actions step even if the Changelog.md files are not updated label Oct 2, 2024
@kevinxh kevinxh requested a review from a team as a code owner October 2, 2024 19:03
Copy link
Collaborator

@bfeister bfeister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@kevinxh kevinxh merged commit 75fb97f into develop Oct 2, 2024
29 checks passed
@kevinxh kevinxh deleted the remove-chakra-layout branch October 2, 2024 19:49
@@ -5,9 +5,14 @@
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
import React, {useState, useEffect, useRef} from 'react'
import {Stack, Heading} from '@chakra-ui/layout'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we want to make sure that the chakra imports go through our shared/ui thing, then there's another candidate here:

import {SkipNavLink, SkipNavContent} from '@chakra-ui/skip-nav'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip changelog Skip the "Changelog Check" GitHub Actions step even if the Changelog.md files are not updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants