diff --git a/packages/components/src/tooltip/index.tsx b/packages/components/src/tooltip/index.tsx index 87c7506a9c5f7..1eb0de7fed009 100644 --- a/packages/components/src/tooltip/index.tsx +++ b/packages/components/src/tooltip/index.tsx @@ -87,10 +87,7 @@ function UnforwardedTooltip( } computedPlacement = computedPlacement || 'bottom'; - // Removing the `Ariakit` namespace from the hook name allows ESLint to - // properly identify the hook, and apply the correct linting rules. - const useAriakitTooltipStore = Ariakit.useTooltipStore; - const tooltipStore = useAriakitTooltipStore( { + const tooltipStore = Ariakit.useTooltipStore( { placement: computedPlacement, showTimeout: delay, } );