mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-17 20:27:53 +01:00
mobile: fix editor loading multiple times
This commit is contained in:
committed by
Abdullah Atta
parent
b40fe805e7
commit
ae7908e000
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user