aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/app/dashboard/lists/page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/app/dashboard/lists/page.tsx')
-rw-r--r--apps/web/app/dashboard/lists/page.tsx14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/web/app/dashboard/lists/page.tsx b/apps/web/app/dashboard/lists/page.tsx
new file mode 100644
index 00000000..88eeda47
--- /dev/null
+++ b/apps/web/app/dashboard/lists/page.tsx
@@ -0,0 +1,14 @@
+import { api } from "@/server/api/client";
+import AllListsView from "@/components/dashboard/lists/AllListsView";
+
+export default async function ListsPage() {
+ const lists = await api.lists.list();
+
+ return (
+ <div className="container mt-4 flex flex-col gap-3">
+ <p className="text-2xl">📋 All Lists</p>
+ <hr />
+ <AllListsView initialData={lists.lists} />
+ </div>
+ );
+}