feat: call useLoginWithGithub in useAuth (#107)

This commit is contained in:
balibabu
2024-03-07 14:39:34 +08:00
committed by GitHub
parent 2b2808c268
commit cfc3b62e77
2 changed files with 15 additions and 12 deletions

View File

@ -4,7 +4,6 @@ import { Outlet } from 'umi';
import '../locales/config';
import Header from './components/header';
import { useLoginWithGithub } from '@/hooks/authHook';
import styles from './index.less';
const { Content } = Layout;
@ -14,8 +13,6 @@ const App: React.FC = () => {
token: { colorBgContainer, borderRadiusLG },
} = theme.useToken();
useLoginWithGithub();
return (
<Layout className={styles.layout}>
<Layout>