diff --git a/apps/web/components/eventtype/EventTypeSingleLayout.tsx b/apps/web/components/eventtype/EventTypeSingleLayout.tsx index c31acff308..a48b729991 100644 --- a/apps/web/components/eventtype/EventTypeSingleLayout.tsx +++ b/apps/web/components/eventtype/EventTypeSingleLayout.tsx @@ -309,7 +309,7 @@ function EventTypeSingleLayout({ variant="icon" StartIcon={LinkIcon} tooltip={t("copy_link")} - side="bottom" + tooltipSide="bottom" onClick={() => { navigator.clipboard.writeText(permalink); showToast("Link copied!", "success"); @@ -321,7 +321,7 @@ function EventTypeSingleLayout({ color="secondary" variant="icon" tooltip={t("embed")} - side="bottom" + tooltipSide="bottom" eventId={eventType.id} /> @@ -332,7 +332,7 @@ function EventTypeSingleLayout({ variant="icon" StartIcon={Trash} tooltip={t("delete")} - side="bottom" + tooltipSide="bottom" disabled={!hasPermsToDelete} onClick={() => setDeleteDialogOpen(true)} /> diff --git a/packages/ui/components/button/Button.tsx b/packages/ui/components/button/Button.tsx index a50a8a44b8..d278ee9fcd 100644 --- a/packages/ui/components/button/Button.tsx +++ b/packages/ui/components/button/Button.tsx @@ -23,7 +23,7 @@ export type ButtonBaseProps = { shallow?: boolean; /**Tool tip used when icon size is set to small */ tooltip?: string; - side?: "top" | "right" | "bottom" | "left"; + tooltipSide?: "top" | "right" | "bottom" | "left"; disabled?: boolean; flex?: boolean; } & Omit & { @@ -215,7 +215,7 @@ export const Button = forwardRef ) : ( - + {element} ); @@ -224,18 +224,18 @@ export const Button = forwardRef { if (!tooltip) { return <>{children}; } return ( - + {children} );