diff --git a/app/components/Sharing/Collection/SharePopover.tsx b/app/components/Sharing/Collection/SharePopover.tsx index 0d76743dcf..33ff82e275 100644 --- a/app/components/Sharing/Collection/SharePopover.tsx +++ b/app/components/Sharing/Collection/SharePopover.tsx @@ -11,6 +11,7 @@ import Group from "~/models/Group"; import User from "~/models/User"; import { Avatar, AvatarSize } from "~/components/Avatar"; import NudeButton from "~/components/NudeButton"; +import { TooltipProvider } from "~/components/TooltipContext"; import { createAction } from "~/actions"; import { UserSection } from "~/actions/sections"; import useBoolean from "~/hooks/useBoolean"; @@ -335,38 +336,40 @@ function SharePopover({ collection, visible, onRequestClose }: Props) { ); return ( - - {can.update && ( - - )} + + + {can.update && ( + + )} - {picker && ( - - )} + {picker && ( + + )} -
- -
-
+
+ +
+
+ ); } diff --git a/app/components/Sharing/Document/SharePopover.tsx b/app/components/Sharing/Document/SharePopover.tsx index 007633977c..02e9febe69 100644 --- a/app/components/Sharing/Document/SharePopover.tsx +++ b/app/components/Sharing/Document/SharePopover.tsx @@ -11,6 +11,7 @@ import Group from "~/models/Group"; import User from "~/models/User"; import { Avatar, GroupAvatar, AvatarSize } from "~/components/Avatar"; import NudeButton from "~/components/NudeButton"; +import { TooltipProvider } from "~/components/TooltipContext"; import { createAction } from "~/actions"; import { UserSection } from "~/actions/sections"; import useBoolean from "~/hooks/useBoolean"; @@ -345,42 +346,44 @@ function SharePopover({ document, onRequestClose, visible }: Props) { ); return ( - - {can.manageUsers && ( - - )} + + + {can.manageUsers && ( + + )} - {picker && ( - - )} + {picker && ( + + )} -
- -
-
+
+ +
+
+ ); }