add admin checks for admin pages and run biome formating 🔨
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 11m8s

This commit is contained in:
2025-07-25 13:31:12 +05:00
parent aedf7cdf7d
commit 9b2f2c1528
127 changed files with 6577 additions and 6334 deletions

View File

@ -1,13 +1,13 @@
"use client"
"use client";
import type { Session } from "next-auth"
import { SessionProvider } from "next-auth/react"
import type { Session } from "next-auth";
import { SessionProvider } from "next-auth/react";
type Props = {
children: React.ReactNode
session?: Session
}
children: React.ReactNode;
session?: Session;
};
export const AuthProvider = ({ children, session }: Props) => {
return <SessionProvider session={session}>{children}</SessionProvider>
}
return <SessionProvider session={session}>{children}</SessionProvider>;
};