[PR #7954] [MERGED] docs: fix typo & unresolved imports #7651

Closed
opened 2026-03-13 13:44:25 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7954
Author: @jslno
Created: 2/13/2026
Status: Merged
Merged: 2/13/2026
Merged by: @himself65

Base: canaryHead: 02-12-2026/docs-small-fixes


📝 Commits (3)

  • b324939 chore: fix useEffectEvent imports
  • 8940c86 chore: disablePaths should be disabledPaths
  • 697b119 chore: fix turbopack workspace root resolution during development

📊 Changes

6 files changed (+27 additions, -10 deletions)

View changed files

📝 docs/app/docs/[[...slug]]/page.client.tsx (+7 -2)
📝 docs/components/docs/layout/toc-thumb.tsx (+1 -2)
📝 docs/components/docs/page.client.tsx (+8 -2)
📝 docs/components/ui/use-copy-button.tsx (+1 -2)
📝 docs/content/docs/plugins/username.mdx (+2 -2)
📝 docs/next.config.js (+8 -0)

📄 Description

Summary by cubic

Fix docs build and dev setup by resolving unresolved imports and correcting the username plugin option to match the better-auth API.

  • Bug Fixes
    • Import useEffectEvent from React and set Turbopack dev workspace root to fix build and path resolution in the docs.
    • Replace disablePaths with disabledPaths in the username plugin docs and example.

Written for commit 697b1196e7. Summary will update on new commits.


🔄 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/7954 **Author:** [@jslno](https://github.com/jslno) **Created:** 2/13/2026 **Status:** ✅ Merged **Merged:** 2/13/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `02-12-2026/docs-small-fixes` --- ### 📝 Commits (3) - [`b324939`](https://github.com/better-auth/better-auth/commit/b324939984f8371dbc972bfd4a702524cd7a62c8) chore: fix `useEffectEvent` imports - [`8940c86`](https://github.com/better-auth/better-auth/commit/8940c86f8d34d91cb5bdc63c8d123f607a960330) chore: `disablePaths` should be `disabledPaths` - [`697b119`](https://github.com/better-auth/better-auth/commit/697b1196e71310671c8e48cf03bf24d15e13cec0) chore: fix turbopack workspace root resolution during development ### 📊 Changes **6 files changed** (+27 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `docs/app/docs/[[...slug]]/page.client.tsx` (+7 -2) 📝 `docs/components/docs/layout/toc-thumb.tsx` (+1 -2) 📝 `docs/components/docs/page.client.tsx` (+8 -2) 📝 `docs/components/ui/use-copy-button.tsx` (+1 -2) 📝 `docs/content/docs/plugins/username.mdx` (+2 -2) 📝 `docs/next.config.js` (+8 -0) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Fix docs build and dev setup by resolving unresolved imports and correcting the username plugin option to match the better-auth API. - **Bug Fixes** - Import useEffectEvent from React and set Turbopack dev workspace root to fix build and path resolution in the docs. - Replace disablePaths with disabledPaths in the username plugin docs and example. <sup>Written for commit 697b1196e71310671c8e48cf03bf24d15e13cec0. Summary will update on new commits.</sup> <!-- 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 13:44:25 -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#7651