Skip to content

Commit

Permalink
Update layout.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
devsargam authored Apr 1, 2024
1 parent ec02cfa commit a067e5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/admin/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default async function AdminLayout({
}

if (process.env.LOCAL_CMS_PROVIDER) {
return <>{children}</>
return <>{children}</>;
}

if (!process.env.ADMINS?.split(',').includes(session.user.email!)) {
Expand Down

0 comments on commit a067e5e

Please sign in to comment.