fix(ui): prevent nested <p> hydration errors in confirmation dialogs (#25643)
Co-authored-by: Pallav <90088723+Pallava-Joshi@users.noreply.github.com>
This commit is contained in:
1 parent
dbc6b15ffc
commit
9c4754dfcc
1 file changed
+2
-2
@@ -68,8 +68,8 @@ export const ConfirmationContent = (props: PropsWithChildren<ConfirmationDialogC
|
||||
<DialogPrimitive.Title className="font-cal text-emphasis mt-2 text-xl">
|
||||
{title}
|
||||
</DialogPrimitive.Title>
|
||||
<DialogPrimitive.Description className="text-subtle text-sm">
|
||||
{children}
|
||||
<DialogPrimitive.Description asChild>
|
||||
<div className="text-subtle text-sm">{children}</div>
|
||||
</DialogPrimitive.Description>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user