fix: replace noop function (#2744)

(cherry picked from commit af6f431c15)
This commit is contained in:
Himself65
2023-06-09 16:00:44 +08:00
committed by Alex Yang
parent 8cd5f81076
commit a0ee00a4b2
12 changed files with 37 additions and 12 deletions
+2 -2
View File
@@ -48,7 +48,7 @@ rootCurrentWorkspaceIdAtom.onMount = set => {
Router.events.off('routeChangeStart', callback);
};
}
return () => {};
return;
};
export const rootCurrentPageIdAtom = atom<string | null>(null);
@@ -69,7 +69,7 @@ rootCurrentPageIdAtom.onMount = set => {
Router.events.off('routeChangeStart', callback);
};
}
return () => {};
return;
};
// current editor atom, each app should have only one editor in the same time