-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[docs][material-ui] Fix #43986: Incorrect React useState Example on Toggle Button #43987
Conversation
Signed-off-by: Nicholas Barrow <[email protected]>
Signed-off-by: Nicholas Barrow <[email protected]>
Signed-off-by: Nicholas Barrow <[email protected]>
Netlify deploy previewhttps://deploy-preview-43987--material-ui.netlify.app/ Bundle size report |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It shouldn't matter in this case, because we have only one state call in the handler, there is nothing to batch, but I am ok with merging this 👌
docs/data/material/components/toggle-button/StandaloneToggleButton.tsx.preview
Outdated
Show resolved
Hide resolved
docs/data/material/components/toggle-button/StandaloneToggleButton.tsx
Outdated
Show resolved
Hide resolved
docs/data/material/components/toggle-button/StandaloneToggleButton.js
Outdated
Show resolved
Hide resolved
docs/data/material/components/toggle-button/StandaloneToggleButton.tsx.preview
Outdated
Show resolved
Hide resolved
Signed-off-by: Marija Najdova <[email protected]>
Signed-off-by: Marija Najdova <[email protected]>
I can't push directly to your master branch, but you need to run the following commands and push the changes in order to fix the CI:
|
@mnajdova good catch, it looks like that worked. All CI tests are passing now, whenever you have a second to take a look at this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for working on this! :)
I have followed (at least) the PR section of the contributing guide.
Fixes: [docs] Incorrect React useState Example on Toggle Button #43986