diff --git a/frontend/src/Live.tsx b/frontend/src/Live.tsx index 93bc545..abbc1da 100644 --- a/frontend/src/Live.tsx +++ b/frontend/src/Live.tsx @@ -14,6 +14,7 @@ export function Live({ page, story, title }: { page: string; story: string; titl const [state, setState] = useState("starting"); const [full, setFull] = useState(false); const [run, setRun] = useState(0); + const after = useRef(null); // Each new frame opens in the current mode. const start = useMemo(() => mode(), [run]); const src = (t: string) => `/gallery/?page=${page}&story=${story}&theme=${t}`; @@ -57,10 +58,10 @@ export function Live({ page, story, title }: { page: string; story: string; titl return ( <> - + +