Skip to content

[docs] Fix build errors with Next.js 14#4594

Merged
bharatkashyap merged 1 commit intomui:masterfrom
bharatkashyap:fix/docs-build
Jan 12, 2025
Merged

[docs] Fix build errors with Next.js 14#4594
bharatkashyap merged 1 commit intomui:masterfrom
bharatkashyap:fix/docs-build

Conversation

@bharatkashyap
Copy link
Collaborator

@bharatkashyap bharatkashyap commented Jan 12, 2025

  • Fixes Version 0.12.0 breaks docs #4585
  • The build succeeds but the built site doesn't hydrate
  • Upgrading to Next.js 15 fixes this
  • Also remove unused @types/react-router-dom

@bharatkashyap bharatkashyap added docs Improvements or additions to the documentation. type: regression A bug, but worse, it used to behave as expected. labels Jan 12, 2025
@mui-bot
Copy link

mui-bot commented Jan 12, 2025

Netlify deploy preview

https://deploy-preview-4594--mui-toolpad-docs.netlify.app/

Generated by 🚫 dangerJS against 5babdf9

@bharatkashyap bharatkashyap requested a review from a team January 12, 2025 04:27
Copy link
Contributor

@prakhargupta1 prakhargupta1 left a comment

Choose a reason for hiding this comment

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

I can confirm that the demos are working in this PR.

@bharatkashyap bharatkashyap merged commit 88ba6ce into mui:master Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to the documentation. type: regression A bug, but worse, it used to behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Version 0.12.0 breaks docs

3 participants