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

Closed
opened 2026-04-13 09:30:17 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/5817

State: closed
Merged: Yes


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.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5817 **State:** closed **Merged:** Yes --- <!-- 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. -->
GiteaMirror added the pull-request label 2026-04-13 09:30:17 -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#14494