Skip to content

Commit 399d9a9

Browse files
committed
fix(ItemBase): tooltip logic * 5
1 parent ec00060 commit 399d9a9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/components/content/ItemBase/ItemBase.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,12 +364,10 @@ export function useAutoTooltip({
364364
tooltip,
365365
children,
366366
labelProps,
367-
labelRef: externalLabelRef,
368367
}: {
369368
tooltip: CubeItemBaseProps['tooltip'];
370369
children: ReactNode;
371370
labelProps?: Props;
372-
labelRef?: RefObject<HTMLElement>;
373371
}) {
374372
// Determine if auto tooltip is enabled
375373
// Auto tooltip only works when children is a string (overflow detection needs text)

0 commit comments

Comments
 (0)