diff --git a/packages/core/src/hooks/useListenFocusTriggers/__stories__/useListenFocusTriggers.stories.tsx b/packages/core/src/hooks/useListenFocusTriggers/__stories__/useListenFocusTriggers.stories.tsx index 1113796ba9..11a64a45cc 100644 --- a/packages/core/src/hooks/useListenFocusTriggers/__stories__/useListenFocusTriggers.stories.tsx +++ b/packages/core/src/hooks/useListenFocusTriggers/__stories__/useListenFocusTriggers.stories.tsx @@ -12,11 +12,11 @@ export const Overview = { const [text, setText] = useState("-"); const ref = useRef(null); - const onFocusByMouse = useCallback((_event: React.FocusEvent) => { + const onFocusByMouse = useCallback((_event: FocusEvent) => { setText("mouse"); }, []); - const onFocusByKeyboard = useCallback((_event: React.FocusEvent) => { + const onFocusByKeyboard = useCallback((_event: FocusEvent) => { setText("keyboard"); }, []);