mobile: fix editor loading multiple times

This commit is contained in:
Ammar Ahmed
2024-01-24 22:23:50 +05:00
committed by Abdullah Atta
parent b40fe805e7
commit ae7908e000
9 changed files with 83 additions and 85 deletions

View File

@@ -217,16 +217,6 @@ export function useEditorController({
return;
}
if (tab.id === message.tabId) {
logger(
"info",
message.type,
tab.noteId,
"Focused:",
tab.id === useTabStore.getState().currentTab
);
}
const editor = editors[tab.id];
switch (type) {
case "native:updatehtml": {