Skip to content

Commit

Permalink
feat: add dynamic variable for forced dynamic behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyshnav001 committed Nov 24, 2024
1 parent 575c92d commit 511a19c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/admin/users/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 511a19c

Please sign in to comment.