mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-18 17:49:10 +00:00
Fix types
This commit is contained in:
parent
73eea94572
commit
aaa03b2aa1
|
@ -33,7 +33,7 @@ export function Dialog({ open, setOpen: onOpenChange, ...props }: DialogProps) {
|
||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<DialogPrimitive.Root open={open} setOpen={onOpenChange}>
|
<DialogPrimitive.Root open={open} onOpenChange={onOpenChange}>
|
||||||
<DialogPrimitive.Trigger asChild>{props.trigger}</DialogPrimitive.Trigger>
|
<DialogPrimitive.Trigger asChild>{props.trigger}</DialogPrimitive.Trigger>
|
||||||
{transitions(
|
{transitions(
|
||||||
(styles, show) =>
|
(styles, show) =>
|
||||||
|
|
Loading…
Reference in a new issue