Skip to content

Commit eb4f9b1

Browse files
Tim BazTim Baz
Tim Baz
authored and
Tim Baz
committed
Fixed upload issue: removed Uppy due to CROSS origin error
1 parent 0805ce3 commit eb4f9b1

File tree

9 files changed

+459
-912
lines changed

9 files changed

+459
-912
lines changed

app/(protected)/editor/posts/page.tsx

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1+
import PostTableEmpty from "@/components/protected/post/post-emtpy-table";
2+
import PostTable from "@/components/protected/post/post-table";
3+
import PostTableHeader from "@/components/protected/post/post-table-header";
14
import ProtectedTitle from "@/components/protected/protected-title";
5+
import TableWrapper from "@/components/protected/table/table-wrapper";
26
import Pagination from "@/components/shared/pagination";
37
import { postConfig } from "@/config/post";
48
import { Draft, Post } from "@/types/collection";
59
import supabase from "@/utils/supabase-server";
610
import { Metadata } from "next";
711
import { notFound } from "next/navigation";
812
import React, { FC } from "react";
9-
import TableWrapper from "@/components/protected/table/table-wrapper";
10-
import PostTableHeader from "@/components/protected/post/post-table-header";
11-
import PostTable from "@/components/protected/post/post-table";
12-
import PostTableEmpty from "@/components/protected/post/post-emtpy-table";
13+
14+
export const dynamic = "force-dynamic";
1315

1416
export const metadata: Metadata = {
1517
title: postConfig.title,

0 commit comments

Comments
 (0)