Fixed live run page

This commit is contained in:
2026-02-07 23:36:18 +01:00
parent 6744a67931
commit 1ae88f2e22
2 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ function getLanguageExtension(lang: Language) {
}
}
export default function Editor({ run }: { run: LiveRun | null }) {
export default function Editor({ run }: { run: LiveRun | null | undefined }) {
const [editorView, setEditorView] = useState<EditorView>();
const [moves] = useActionOnce<LiveRunMove[]>(getLiveRunMoves, [run]);