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

[examples] Fix build on Next.js Pages Router examples #40665

Merged
merged 3 commits into from
Jan 22, 2024

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Jan 18, 2024

I noticed that the reproduction of #37500 still leads to an error (but a different kind):

Screenshot 2024-01-18 at 01 39 28

This is a regression from #40199. It's a quick fix, so I thought I might as well go for it.

@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work regression A bug, but worse examples Relating to /examples nextjs labels Jan 18, 2024
@mui-bot
Copy link

mui-bot commented Jan 18, 2024

Netlify deploy preview

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

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against a221352

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 21, 2024
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 21, 2024
CacheProvider?: (props: {
value: EmotionCache;
children: React.ReactNode;
}) => React.JSX.Element | null;
CacheProvider?: React.ElementType<{ value: EmotionCache }>;
Copy link
Member Author

Choose a reason for hiding this comment

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

Strange type

emotionStyleTags: React.JSX.Element[];
emotionStyleTags: React.ReactElement[];
Copy link
Member Author

Choose a reason for hiding this comment

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

@oliviertassinari oliviertassinari merged commit fb8ba1d into mui:master Jan 22, 2024
23 checks passed
@oliviertassinari oliviertassinari deleted the fix-yarn-build-fail branch January 22, 2024 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work examples Relating to /examples nextjs regression A bug, but worse typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants