Skip to content

Commit

Permalink
Force dynamic rendering of purchases page
Browse files Browse the repository at this point in the history
  • Loading branch information
ccruzkauppila committed Jan 6, 2025
1 parent b099e39 commit 0cdb465
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/(loggedin)/account/purchases/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import { AccountHistoryLayout } from "@/components/ui/Layouts/AccountHistoryLayo
import { getCurrentUser } from "@/server/db/queries/account";
import { getUserTransactionsWithItems } from "@/server/db/queries/transaction";

export const dynamic = "force-dynamic";

const PurchaseHistoryPage = async () => {
const user = await getCurrentUser();
if (!user.ok) {
Expand Down

0 comments on commit 0cdb465

Please sign in to comment.