From 48a4ff9bc1e5020c0da08213cc57afec08c2945a Mon Sep 17 00:00:00 2001 From: Eric NGUYEN Date: Thu, 13 Oct 2022 16:30:51 +0200 Subject: [PATCH] Fix infinite loop in NewEditor --- src/Components/App/Actions/MenuActions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Components/App/Actions/MenuActions.ts b/src/Components/App/Actions/MenuActions.ts index 2187b47..abf2cbc 100644 --- a/src/Components/App/Actions/MenuActions.ts +++ b/src/Components/App/Actions/MenuActions.ts @@ -16,6 +16,7 @@ export function NewEditor( } if (editorState.configuration !== undefined) { + setLoaded(true); return; }