feat: open last workspace when back or refresh affine (#1413)

Co-authored-by: himself65 <himself65@outlook.com>
This commit is contained in:
Qiandhimself65 authored and GitHub committed 2023-03-08 18:40:25 +00:00
1 parent 867ea9cf2b
commit 0db7868a6a
5 files changed
+65 -14

No files matched your search

-1
View File
@@ -45,7 +45,6 @@ const App = function App({
}) {
const getLayout = Component.getLayout || EmptyLayout;
const i18n = useMemo(() => createI18n(), []);
if (process.env.NODE_ENV === 'development') {
// I know what I'm doing
// eslint-disable-next-line react-hooks/rules-of-hooks