From 511a19c6356ad869a409c071730065709951c318 Mon Sep 17 00:00:00 2001 From: vyshnav Date: Sun, 24 Nov 2024 18:49:33 +0530 Subject: [PATCH] feat: add dynamic variable for forced dynamic behavior --- src/app/admin/users/page.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/admin/users/page.tsx b/src/app/admin/users/page.tsx index 64ba5a4..dd2410d 100644 --- a/src/app/admin/users/page.tsx +++ b/src/app/admin/users/page.tsx @@ -2,6 +2,8 @@ import UsersList from "@/components/admin/user-list"; import prisma from "@/server/db"; import React from "react"; +export const dynamic = "force-dynamic"; + export default async function Users() { const initialUserData = await prisma.user.findMany({ select: {