We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 479ce8d commit d38c858Copy full SHA for d38c858
src/common/hooks/apis/useGetIsLogin.ts
@@ -6,7 +6,6 @@ const getIsLogin = async () => {
6
const response = await client.get('/api/test/is-login');
7
if (response.status === 200) {
8
if (response.data.data) return true;
9
- return false;
10
}
11
return false;
12
} catch {
0 commit comments