fix: replace noop function (#2744)

This commit is contained in:
Himself65
2023-06-09 16:00:44 +08:00
committed by GitHub
parent 01ae21e1fa
commit af6f431c15
12 changed files with 37 additions and 12 deletions

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