mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
fix: replace noop function (#2744)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user