check completed when changing level

pull/43/head
Alexander Bentkamp 2 years ago
parent bbfb6f8f5e
commit 340700aba4

@ -68,6 +68,7 @@ function Infoview({ editor, editorApi, leanClient } : {editor: monaco.editor.ISt
useEffect(() => {
if (editor) {
fetchInteractiveGoals()
checkCompleted()
const t = editor.onDidChangeModel((ev) => {
if (ev.newModelUrl) {
setRpcSession(undefined)

Loading…
Cancel
Save