fix: Cannot read properties of undefined (reading 'displayName')

This commit is contained in:
naiba
2025-10-02 15:26:31 +08:00
parent bb288c554f
commit cb749c6d16
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ const AlertDialogTitle = React.forwardRef<
{...props}
/>
))
AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName
AlertDialogTitle.displayName = "AlertDialogTitle"
const AlertDialogDescription = React.forwardRef<
React.ComponentRef<typeof AlertDialogPrimitive.Description>,