From e83351f37641215765edf1ad17b9fbf19eb437a7 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 14 Sep 2023 13:04:14 -0500 Subject: [PATCH] Temporarily disable hotkeys --- app/soapbox/features/ui/components/hotkeys.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/app/soapbox/features/ui/components/hotkeys.tsx b/app/soapbox/features/ui/components/hotkeys.tsx index 432d7375f..e735cde86 100644 --- a/app/soapbox/features/ui/components/hotkeys.tsx +++ b/app/soapbox/features/ui/components/hotkeys.tsx @@ -6,13 +6,17 @@ type IHotKeys = React.ComponentProps; /** * Wrapper component around `react-hotkeys`. * `react-hotkeys` is a legacy component, so confining its import to one place is beneficial. + * + * NOTE: Temporarily disabled due to incompatibility with Vite. */ const HotKeys = React.forwardRef(({ children, ...rest }, ref) => { - return ( - <_HotKeys {...rest} ref={ref}> - {children} - - ); + // return ( + // <_HotKeys {...rest} ref={ref}> + // {children} + // + // ); + + return <>{children}; }); export { HotKeys, type IHotKeys }; \ No newline at end of file