Skip to content

Commit

Permalink
nextjs bug or weird behaviour: loaders require a sibling layout???
Browse files Browse the repository at this point in the history
  • Loading branch information
Southclaws committed Jan 4, 2025
1 parent ccdbf70 commit d2745de
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions web/src/app/(dashboard)/d/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { PropsWithChildren } from "react";

export default async function Layout({ children }: PropsWithChildren) {
return children;
}
5 changes: 5 additions & 0 deletions web/src/app/(dashboard)/l/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { PropsWithChildren } from "react";

export default async function Layout({ children }: PropsWithChildren) {
return children;
}
5 changes: 5 additions & 0 deletions web/src/app/(dashboard)/t/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { PropsWithChildren } from "react";

export default async function Layout({ children }: PropsWithChildren) {
return children;
}

0 comments on commit d2745de

Please sign in to comment.