chore: Add dynamic export to page.tsx and Navbar.tsx

This commit is contained in:
Bram Suurd
2024-08-17 00:20:29 +02:00
parent 9588ddc7cb
commit 527be1ffab

View File

@@ -2,6 +2,8 @@ import { NextResponse } from "next/server";
import { pb } from "@/lib/pocketbase";
import { Category } from "@/lib/types";
export const dynamic = "force-dynamic";
export async function GET() {
try {
const response = await pb.collection("categories").getFullList<Category>({