Skip to content

Commit

Permalink
feat: 초기 페이지를 macbook air로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
gyeongza committed Jun 14, 2024
1 parent 7b7b908 commit 571a994
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/app/(iTracker)/page.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import { CategoryList } from '@/features/category/components/CategoryList';
import { CategoryListSkeleton } from '@/features/category/components/CategoryList/Skeleton';
import { Suspense } from 'react';
import { redirect } from 'next/navigation';

export default function Home() {
return (
<main>
<Suspense fallback={<CategoryListSkeleton />}>
<CategoryList />
</Suspense>
</main>
);
redirect('/category/macbook_air');
// return (
// <main>
// <Suspense fallback={<CategoryListSkeleton />}>
// <CategoryList />
// </Suspense>
// </main>
// );
}

0 comments on commit 571a994

Please sign in to comment.