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

React not defined in build while loading component with chakra-ui-steps #66

Closed
RS2007 opened this issue May 1, 2022 · 2 comments
Closed

Comments

@RS2007
Copy link

RS2007 commented May 1, 2022

  • In my project, I have a button that opens a modal with chakra-ui steps
  • Image shown below:
    image
  • This is from the development environment(vite)
  • After building the app(vite build), when I try to access the modal(by clicking the button), i get this error:
    image
  • I think this is an issue with chakra-ui-steps because all the other packages are being used in other components within the same project and they all seem to work fine in the build
@jeanverster
Copy link
Owner

Hi! Thanks for raising this. Any chance you could send a minimal reproduction that I could have a look at? Otherwise it's quite difficult for me to diagnose what's wrong

@RS2007
Copy link
Author

RS2007 commented May 3, 2022

  • You can clone this repo and try building it, thats where the error was popping up,
    repo

  • As for minimal reproduction, I guess try initialising a vite react app and then using chakra ui steps and then preview the build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants