fix: no eslint error

This commit is contained in:
tzhangchi
2022-12-26 19:09:52 +08:00
parent 091183785c
commit 9e877f5f6b
@@ -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);