revert: loadWorkspace unexpected behavior (#1172)

This commit is contained in:
Himself65
2023-02-21 20:44:18 -06:00
committed by GitHub
parent 86346b284e
commit 0b072da346
49 changed files with 1225 additions and 2198 deletions

View File

@@ -1,15 +1,7 @@
import type { NextPage } from 'next';
import { useRouter } from 'next/router';
import { useEffect } from 'react';
import { PageLoading } from '@/components/loading';
const Home: NextPage = () => {
const router = useRouter();
useEffect(() => {
router.replace('/workspace');
}, [router]);
return <PageLoading />;
return <div title="Home Page"></div>;
};
export default Home;