[PR #5603] [MERGED] docs: adjust NavLink target handling #6110

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5603
Author: @bytaesu
Created: 10/26/2025
Status: Merged
Merged: 10/27/2025
Merged by: @Bekacru

Base: canaryHead: 2025-10-27/docs/remove-nav-target


📝 Commits (2)

  • 5210a92 docs: remove the target from NavLink
  • 7b36beb fix: revert and handle target as undefined

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 docs/components/nav-link.tsx (+2 -1)

📄 Description

Before:

https://github.com/user-attachments/assets/fb29b792-fad3-47b4-9d20-5ba3b1fa20a9

After:

https://github.com/user-attachments/assets/775c7971-7d20-4e84-8361-8a3a3940c172


Summary by cubic

Simplified NavLink by removing the target attribute and the external prop, aligning link behavior with Next.js defaults. The navbar GitHub link now uses this simplified component and opens in the same tab.


🔄 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/5603 **Author:** [@bytaesu](https://github.com/bytaesu) **Created:** 10/26/2025 **Status:** ✅ Merged **Merged:** 10/27/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `2025-10-27/docs/remove-nav-target` --- ### 📝 Commits (2) - [`5210a92`](https://github.com/better-auth/better-auth/commit/5210a92df03d5cc62160c551a63c14ffa08e41eb) docs: remove the target from NavLink - [`7b36beb`](https://github.com/better-auth/better-auth/commit/7b36bebee6670413237e17f15da2a8e086645906) fix: revert and handle target as undefined ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/nav-link.tsx` (+2 -1) </details> ### 📄 Description ### Before: https://github.com/user-attachments/assets/fb29b792-fad3-47b4-9d20-5ba3b1fa20a9 ### After: https://github.com/user-attachments/assets/775c7971-7d20-4e84-8361-8a3a3940c172 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Simplified NavLink by removing the target attribute and the external prop, aligning link behavior with Next.js defaults. The navbar GitHub link now uses this simplified component and opens in the same tab. <!-- 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:48:04 -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#6110