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

fix(plugin-basic-ui): remove deps array from max width effect #413

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

orionmiz
Copy link
Member

@orionmiz orionmiz commented Oct 4, 2023

For now, max-width of centered component cannot be changed while the size of some components out of that in AppBar is changed by re-rendering (e.g. conditional rendering)

This PR fixes the issue by invoking effect regardless of dependencies for the effect.

@vercel
Copy link

vercel bot commented Oct 4, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
stackflow-docs ✅ Ready (Inspect) Visit Preview Oct 4, 2023 1:41pm

Copy link
Member

@tonyfromundefined tonyfromundefined left a comment

Choose a reason for hiding this comment

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

@orionmiz orionmiz merged commit d0f75e9 into main Oct 5, 2023
3 checks passed
@orionmiz orionmiz deleted the use-max-width-effect branch October 5, 2023 05:31
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

Successfully merging this pull request may close these issues.

2 participants