chore: eslint&format check on workflow (#253)
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
import { redirect } from 'next/navigation'
|
||||
import { redirect } from 'next/navigation';
|
||||
import { PageType } from '@/types/base';
|
||||
import Config from '@/config/config';
|
||||
import LandingPage from '@/src/app/[locale]/LandingPage';
|
||||
|
||||
export default function Home({ params }: PageType) {
|
||||
|
||||
if (!Config.isDemoSite) {
|
||||
redirect(`/${params.locale}/projects`)
|
||||
redirect(`/${params.locale}/projects`);
|
||||
}
|
||||
|
||||
return <LandingPage params={params} />
|
||||
return <LandingPage params={params} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user