From db104b79eb110a5ec5c62075c28466dc0acf077f Mon Sep 17 00:00:00 2001 From: Philip Okugbe <16838612+Philipinho@users.noreply.github.com> Date: Thu, 15 Oct 2026 13:31:11 +0100 Subject: [PATCH] fix(editor): apply title save response after the title editor is destroyed (#2576) --- apps/client/src/features/editor/title-editor.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/client/src/features/editor/title-editor.tsx b/apps/client/src/features/editor/title-editor.tsx index 26925b15..df91e0ff 100644 --- a/apps/client/src/features/editor/title-editor.tsx +++ b/apps/client/src/features/editor/title-editor.tsx @@ -149,7 +149,8 @@ export function TitleEditor({ }, }; - if (page.title !== titleEditor.getText()) return; + if (!titleEditor.isDestroyed && page.title !== titleEditor.getText()) + return; updatePageData(page);