[PR #3876] [MERGED] docs: fix hydration #5060

Closed
opened 2026-03-13 12:09:29 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3876
Author: @himself65
Created: 8/8/2025
Status: Merged
Merged: 8/8/2025
Merged by: @Kinfe123

Base: canaryHead: himself65/2025/08/08/docs


📝 Commits (1)

📊 Changes

5 files changed (+80 additions, -60 deletions)

View changed files

📝 docs/content/docs/adapters/mssql.mdx (+16 -12)
📝 docs/content/docs/adapters/mysql.mdx (+16 -12)
📝 docs/content/docs/adapters/postgresql.mdx (+16 -12)
📝 docs/content/docs/adapters/prisma.mdx (+16 -12)
📝 docs/content/docs/adapters/sqlite.mdx (+16 -12)

📄 Description

In HTML, <tr> cannot be a child of <table>.
  This will cause a hydration error.

Summary by cubic

Fixed invalid HTML table structure in adapter docs to prevent hydration errors during rendering.

  • Bug Fixes
    • Wrapped table rows in thead and tbody for correct HTML nesting.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/3876 **Author:** [@himself65](https://github.com/himself65) **Created:** 8/8/2025 **Status:** ✅ Merged **Merged:** 8/8/2025 **Merged by:** [@Kinfe123](https://github.com/Kinfe123) **Base:** `canary` ← **Head:** `himself65/2025/08/08/docs` --- ### 📝 Commits (1) - [`4cb25cd`](https://github.com/better-auth/better-auth/commit/4cb25cd63ed8bc6d678132e8aa540d9085d8f801) docs: fix hydration ### 📊 Changes **5 files changed** (+80 additions, -60 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/adapters/mssql.mdx` (+16 -12) 📝 `docs/content/docs/adapters/mysql.mdx` (+16 -12) 📝 `docs/content/docs/adapters/postgresql.mdx` (+16 -12) 📝 `docs/content/docs/adapters/prisma.mdx` (+16 -12) 📝 `docs/content/docs/adapters/sqlite.mdx` (+16 -12) </details> ### 📄 Description ``` shell In HTML, <tr> cannot be a child of <table>. This will cause a hydration error. ``` <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Fixed invalid HTML table structure in adapter docs to prevent hydration errors during rendering. - **Bug Fixes** - Wrapped table rows in thead and tbody for correct HTML nesting. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 12:09:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#5060