fix: make my pages dynamic to opt out of full router cache
This commit is contained in:
@@ -7,6 +7,8 @@ import { getProfile } from "@/lib/trpc/memoizedRequests"
|
||||
import { auth } from "@/auth"
|
||||
import { getLang } from "@/i18n/serverContext"
|
||||
|
||||
export const revalidate = 0
|
||||
|
||||
export default async function ProtectedLayout({
|
||||
children,
|
||||
}: React.PropsWithChildren) {
|
||||
|
||||
Reference in New Issue
Block a user