add admin checks for admin pages and run biome formating 🔨

This commit is contained in:
2025-07-25 13:31:12 +05:00
parent aedf7cdf7d
commit 9b2f2c1528
127 changed files with 6572 additions and 6329 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { withAuth } from "next-auth/middleware";
export default withAuth(
// `withAuth` augments your `Request` with the user's token.
function middleware(req) { },
function middleware(req) {},
);
export const config = {