Skip to content

Commit a267dab

Browse files
Merge pull request #28 from Cheetos-gif/dev
Credentials page redirect for unauthenticated users
2 parents 1e36f53 + cb8cd27 commit a267dab

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

app/src/app/credentials/layout.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import ProtectedRoutes from '@/components/Auth/ProtectedRoutes/ProtectedRoutes';
2+
3+
export default function RootLayout({
4+
children,
5+
}: Readonly<{
6+
children: React.ReactNode;
7+
}>) {
8+
return <ProtectedRoutes>{children}</ProtectedRoutes>;
9+
}

0 commit comments

Comments
 (0)