Skip to content

Commit

Permalink
💚 fix: CI build, there is no children on page
Browse files Browse the repository at this point in the history
  • Loading branch information
bytevictor committed Apr 11, 2024
1 parent f3ec0d6 commit 8b410f5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,12 @@ const TaskAppNoSSR = dynamic(() => import("./Components/TasksApp/TasksTab"), {
ssr: false,
});

export default function Home({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
export default function Home() {
return (
<ConfigContextProvider>
<NextAuthProvider>
<MainNavbar />
{children ? children : <TaskAppNoSSR />}
<TaskAppNoSSR />
</NextAuthProvider>
</ConfigContextProvider>
);
Expand Down

0 comments on commit 8b410f5

Please sign in to comment.