Move to infisical. Create local dev environment. Add ci gates. Modernize repo
This commit is contained in:
@@ -19,8 +19,7 @@ export const generateMetadata = (): Metadata => {
|
||||
const ProfileLayout = async ({
|
||||
children,
|
||||
}: Readonly<{ children: React.ReactNode }>) => {
|
||||
if (!(await isAuthenticatedNextjs()))
|
||||
redirect('/sign-in');
|
||||
if (!(await isAuthenticatedNextjs())) redirect('/sign-in');
|
||||
return <>{children}</>;
|
||||
};
|
||||
export default ProfileLayout;
|
||||
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
declare module '@payloadcms/next/css';
|
||||
Reference in New Issue
Block a user