diff --git a/src/javascript/ContentEditor/ContentEditorApi/ContentEditorApi.jsx b/src/javascript/ContentEditor/ContentEditorApi/ContentEditorApi.jsx index e83f529ca..7ede95b49 100644 --- a/src/javascript/ContentEditor/ContentEditorApi/ContentEditorApi.jsx +++ b/src/javascript/ContentEditor/ContentEditorApi/ContentEditorApi.jsx @@ -137,7 +137,7 @@ export const ContentEditorApi = () => { if (loaded.current) { unsetEditorConfigs(); } - }, [history, location.pathname, locationWithoutEditors]); // eslint-disable-line + }, [location.pathname]); // eslint-disable-line useEffect(() => { loaded.current = true;