Fixed live run page
This commit is contained in:
@@ -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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user