trying to resolve next/font bug

This commit is contained in:
2025-02-03 13:33:15 -05:00
parent f614b064a0
commit 239f6bceda
5 changed files with 13 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
import { cache } from "react";
//import { cache } from "next/cache";
import { cookies } from "next/headers";
import type { Session, User } from "lucia";
import { lucia } from "@/lib/auth";
@@ -37,4 +37,4 @@ export const uncachedValidateRequest = async (): Promise<
return result;
};
export const validateRequest = cache(uncachedValidateRequest);
export const validateRequest = uncachedValidateRequest;