diff --git a/dump.rdb b/dump.rdb new file mode 100644 index 000000000..a964c370b Binary files /dev/null and b/dump.rdb differ diff --git a/src/components/Appbar.tsx b/src/components/Appbar.tsx index 56a3cc30e..dfdeb088a 100644 --- a/src/components/Appbar.tsx +++ b/src/components/Appbar.tsx @@ -88,7 +88,7 @@ export const Appbar = () => { className="fixed left-0 top-0 z-[999] hidden h-full flex-col border-r border-primary/10 bg-background dark:bg-background lg:flex min-w-16" >
-
+
= ({ }; const setupZoomFeatures = (player: any) => { - if (typeof window === 'undefined' || typeof document === 'undefined') return; const videoEl = player.el().querySelector('video'); @@ -166,7 +165,8 @@ export const VideoPlayer: FunctionComponent = ({ })(); // Unified gesture handler - const handleGestureControl = (e: HammerInput) => { + // @ts-expect-error: HammerInput type not exported in hammerjs; fallback to any for now + const handleGestureControl = (e: any) => { const target = e.srcEvent.target as HTMLElement; const isControlBar = target.closest('.vjs-control-bar'); diff --git a/src/components/posts/form/form-vote.tsx b/src/components/posts/form/form-vote.tsx index 1ac4cfcbc..77a48e5bf 100644 --- a/src/components/posts/form/form-vote.tsx +++ b/src/components/posts/form/form-vote.tsx @@ -54,7 +54,6 @@ const VoteForm: React.FC = ({ ); }; - const userVoted = Boolean(votesArr.length); const userVoteVal = votesArr[0];