Skip to content

fix(mui): avoid nested anchors in themed title#7428

Open
Will-thom wants to merge 1 commit into
refinedev:mainfrom
Will-thom:fix/mui-themed-title-nested-link
Open

fix(mui): avoid nested anchors in themed title#7428
Will-thom wants to merge 1 commit into
refinedev:mainfrom
Will-thom:fix/mui-themed-title-nested-link

Conversation

@Will-thom
Copy link
Copy Markdown

Fixes #7418.

Summary

  • Replace the inner MUI Link in ThemedTitle with Box to avoid rendering nested anchors
  • Add a regression test that asserts ThemedTitle renders a single anchor
  • Add a patch changeset for @refinedev/mui

Tests

  • pnpm --filter @refinedev/mui test -- themedLayout/title
  • pnpm --filter @refinedev/mui test
  • pnpm --filter @refinedev/mui build

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 21, 2026

🦋 Changeset detected

Latest commit: 1b6b5e9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@refinedev/mui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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.

[BUG] ThemedTitle renders nested <a> tags causing React 19 hydration error

1 participant