File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ export const Appbar = () => {
8888 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"
8989 >
9090 < div className = "flex h-full flex-col gap-4" >
91- < div className = "flex w-full items-center border-b border-primary/10 px-2 py-4 " >
91+ < div className = "flex w-full items-center border-b border-primary/10 px-2 py-3 " >
9292 < div >
9393 < motion . button
9494 onClick = { toggleCollapse }
Original file line number Diff line number Diff line change @@ -111,7 +111,6 @@ export const VideoPlayer: FunctionComponent<VideoPlayerProps> = ({
111111 } ;
112112
113113 const setupZoomFeatures = ( player : any ) => {
114-
115114 if ( typeof window === 'undefined' || typeof document === 'undefined' ) return ;
116115
117116 const videoEl = player . el ( ) . querySelector ( 'video' ) ;
@@ -166,7 +165,8 @@ export const VideoPlayer: FunctionComponent<VideoPlayerProps> = ({
166165 } ) ( ) ;
167166
168167 // Unified gesture handler
169- const handleGestureControl = ( e : HammerInput ) => {
168+ // @ts -expect-error: HammerInput type not exported in hammerjs; fallback to any for now
169+ const handleGestureControl = ( e : any ) => {
170170 const target = e . srcEvent . target as HTMLElement ;
171171 const isControlBar = target . closest ( '.vjs-control-bar' ) ;
172172
Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ const VoteForm: React.FC<IVoteFormProps> = ({
5454 ) ;
5555 } ;
5656
57-
5857 const userVoted = Boolean ( votesArr . length ) ;
5958 const userVoteVal = votesArr [ 0 ] ;
6059
You can’t perform that action at this time.
0 commit comments