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

[docs][material-ui][Snackbar] Remove unused State interface from Consecutive Snackbars demo #40410

Merged
merged 2 commits into from
Jan 11, 2024

Conversation

zinoroman
Copy link
Contributor

This PR removes the State interface from the Consecutive Snackbars example. This interface is not used within the file so this removal improves code clarity and reduces its complexity.

@zinoroman zinoroman changed the title [docs] Remove unused State interface [material-ui][docs] Remove unused State interface Jan 3, 2024
@mui-bot
Copy link

mui-bot commented Jan 3, 2024

Netlify deploy preview

https://deploy-preview-40410--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 60cf132

@zannager zannager added docs Improvements or additions to the documentation package: material-ui Specific to @mui/material labels Jan 3, 2024
@ZeeshanTamboli ZeeshanTamboli changed the title [material-ui][docs] Remove unused State interface [docs][material-ui][Snackbar] Remove unused State interface from Consecutive snackbars demo Jan 11, 2024
@ZeeshanTamboli ZeeshanTamboli changed the title [docs][material-ui][Snackbar] Remove unused State interface from Consecutive snackbars demo [docs][material-ui][Snackbar] Remove unused State interface from Consecutive Snackbars demo Jan 11, 2024
@ZeeshanTamboli ZeeshanTamboli added component: snackbar This is the name of the generic UI component, not the React module! typescript labels Jan 11, 2024
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli left a comment

Choose a reason for hiding this comment

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

Nice catch! Thank you!

@ZeeshanTamboli ZeeshanTamboli merged commit 3a705d8 into mui:master Jan 11, 2024
21 checks passed
@zinoroman zinoroman deleted the docs-fix-snackbar branch January 11, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: snackbar This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation package: material-ui Specific to @mui/material typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants