From 064078ea8e241056f8f9c6efa8158f70973c6876 Mon Sep 17 00:00:00 2001 From: PrzemyslawPolrolniczak Date: Wed, 9 Oct 2024 22:10:29 +0200 Subject: [PATCH 1/2] chore: change useHover stories file extension from js to tsx --- .../__stories__/{useHover.stories.js => useHover.stories.tsx} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename packages/core/src/hooks/useHover/__stories__/{useHover.stories.js => useHover.stories.tsx} (100%) diff --git a/packages/core/src/hooks/useHover/__stories__/useHover.stories.js b/packages/core/src/hooks/useHover/__stories__/useHover.stories.tsx similarity index 100% rename from packages/core/src/hooks/useHover/__stories__/useHover.stories.js rename to packages/core/src/hooks/useHover/__stories__/useHover.stories.tsx From 94417975b0de8fa4c81078631f66c7249f66d957 Mon Sep 17 00:00:00 2001 From: PrzemyslawPolrolniczak Date: Thu, 10 Oct 2024 17:33:33 +0200 Subject: [PATCH 2/2] fix: add missing generic type to useHover hook usage --- .../core/src/hooks/useHover/__stories__/useHover.stories.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/hooks/useHover/__stories__/useHover.stories.tsx b/packages/core/src/hooks/useHover/__stories__/useHover.stories.tsx index 6cf801b998..5b9f95f62c 100644 --- a/packages/core/src/hooks/useHover/__stories__/useHover.stories.tsx +++ b/packages/core/src/hooks/useHover/__stories__/useHover.stories.tsx @@ -10,7 +10,7 @@ export default { export const Overview = { render: () => { - const [hoverRef, isHovered] = useHover(); + const [hoverRef, isHovered] = useHover(); return (