Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 24 additions & 50 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@
"@fontsource-variable/jetbrains-mono": "^5.3.0",
"hls.js": "^1.7.4",
"lucide-react": "^1.70.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
"react": "^19.3.0",
"react-dom": "^19.3.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@tailwindcss/postcss": "^4.3.5",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.3",
"@testing-library/user-event": "^14.6.8",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@typescript-eslint/eslint-plugin": "^8.72.1",
"@typescript-eslint/parser": "^8.72.1",
"@vitejs/plugin-react": "^4.3.2",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/replay/VideoControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export function VideoControls({
storyboard = null,
settings = [],
}: {
video: RefObject<HTMLVideoElement>;
video: RefObject<HTMLVideoElement | null>;
source: string;
theater: boolean;
onTheater: () => void;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/replay/useChatReplay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export interface ChatReplay {
held: boolean;
setHeld: (value: boolean) => void;
setFollowing: (value: boolean) => void;
log: RefObject<HTMLDivElement>;
log: RefObject<HTMLDivElement | null>;
/** Clear the rendered window and any pending search, e.g. after a seek. */
reset: () => void;
/** Clear only the rendered window, keeping an active search. */
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/replay/useHls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import type Hls from "hls.js";
* null when the source is not live or hls.js is not the one playing it.
*/
export function useHls(
video: RefObject<HTMLVideoElement>,
video: RefObject<HTMLVideoElement | null>,
url: string,
active: boolean,
onError: (message: string) => void,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/replay/usePositionPersistence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { useCallback, useEffect, useRef, type RefObject } from "react";
*/
export function usePositionPersistence(
storageKey: string,
video: RefObject<HTMLVideoElement>,
video: RefObject<HTMLVideoElement | null>,
onSave?: (time: number, duration: number) => void,
) {
const lastSaved = useRef(0);
Expand Down
Loading