mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-19 02:51:47 +08:00
fix: no eslint error
This commit is contained in:
@@ -17,6 +17,7 @@ export const useSyncData = ({
|
|||||||
}
|
}
|
||||||
const start = async () => {
|
const start = async () => {
|
||||||
const isLogin = await token.refreshToken().catch(() => false);
|
const isLogin = await token.refreshToken().catch(() => false);
|
||||||
|
return isLogin;
|
||||||
};
|
};
|
||||||
start();
|
start();
|
||||||
|
|
||||||
@@ -32,6 +33,7 @@ export const useSyncData = ({
|
|||||||
// workspacesMeta,
|
// workspacesMeta,
|
||||||
// synced: true,
|
// synced: true,
|
||||||
// }));
|
// }));
|
||||||
|
return workspacesMeta;
|
||||||
};
|
};
|
||||||
|
|
||||||
token.onChange(callback);
|
token.onChange(callback);
|
||||||
|
|||||||
Reference in New Issue
Block a user