mirror of
https://github.com/lumina-rocks/lumina.git
synced 2026-06-06 02:31:16 +02:00
Revert "Revert "Fix: hydration errors (#45)""
This reverts commit a737463115.
This commit is contained in:
@@ -60,7 +60,7 @@ export default function ViewCopyButton({ event }: ViewCopyButtonProps) {
|
||||
|
||||
return (
|
||||
<Drawer>
|
||||
<DrawerTrigger>
|
||||
<DrawerTrigger asChild>
|
||||
<Button variant="outline"><Share1Icon /></Button>
|
||||
</DrawerTrigger>
|
||||
<DrawerContent>
|
||||
@@ -80,12 +80,13 @@ export default function ViewCopyButton({ event }: ViewCopyButtonProps) {
|
||||
</div>
|
||||
</div>
|
||||
<DrawerFooter>
|
||||
<DrawerClose>
|
||||
<Button variant="outline">Close</Button>
|
||||
<DrawerClose asChild>
|
||||
<div>
|
||||
<Button variant="outline">Close</Button>
|
||||
</div>
|
||||
</DrawerClose>
|
||||
</DrawerFooter>
|
||||
</DrawerContent>
|
||||
</Drawer>
|
||||
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user