From 79f75d160476eddbf270e994b807c51727d118ab Mon Sep 17 00:00:00 2001 From: Thomas Draier Date: Tue, 1 Aug 2023 09:28:09 +0200 Subject: [PATCH] BACKLOG-21332: skip reset when only query string is changed --- .../ContentEditor/ContentEditorApi/ContentEditorApi.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;