[PR #5817] [MERGED] chore(demo): fix ref type #6247

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5817
Author: @himself65
Created: 11/7/2025
Status: Merged
Merged: 11/7/2025
Merged by: @himself65

Base: canaryHead: himself65/2025/11/06/demo-ref


📝 Commits (1)

  • cd9a276 chore(demo): fix ref type

📊 Changes

2 files changed (+7 additions, -7 deletions)

View changed files

📝 demo/nextjs/components/ui/alert-dialog.tsx (+6 -6)
📝 demo/nextjs/components/ui/textarea.tsx (+1 -1)

📄 Description

Summary by cubic

Make ref props optional in demo UI components. Fixes TypeScript errors where ref was required and aligns with React/Radix types.

  • Bug Fixes
    • alert-dialog: Overlay, Content, Title, Description, Action, Cancel now accept optional ref.
    • textarea: ref prop is optional.

Written for commit cd9a27651d. Summary will update automatically 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/5817 **Author:** [@himself65](https://github.com/himself65) **Created:** 11/7/2025 **Status:** ✅ Merged **Merged:** 11/7/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/11/06/demo-ref` --- ### 📝 Commits (1) - [`cd9a276`](https://github.com/better-auth/better-auth/commit/cd9a27651d4abf82fe8768637e2436fd46006336) chore(demo): fix `ref` type ### 📊 Changes **2 files changed** (+7 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `demo/nextjs/components/ui/alert-dialog.tsx` (+6 -6) 📝 `demo/nextjs/components/ui/textarea.tsx` (+1 -1) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Make ref props optional in demo UI components. Fixes TypeScript errors where ref was required and aligns with React/Radix types. - **Bug Fixes** - alert-dialog: Overlay, Content, Title, Description, Action, Cancel now accept optional ref. - textarea: ref prop is optional. <sup>Written for commit cd9a27651d4abf82fe8768637e2436fd46006336. Summary will update automatically 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 12:52:19 -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#6247