From cd623ad9d6281389b0a092520c777567fcf5464b Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Sat, 2 Mar 2024 14:23:46 +0000
Subject: feature: Add an 'All Lists' page

---
 packages/web/app/dashboard/lists/page.tsx | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 packages/web/app/dashboard/lists/page.tsx

(limited to 'packages/web/app/dashboard/lists/page.tsx')

diff --git a/packages/web/app/dashboard/lists/page.tsx b/packages/web/app/dashboard/lists/page.tsx
new file mode 100644
index 00000000..62e328b0
--- /dev/null
+++ b/packages/web/app/dashboard/lists/page.tsx
@@ -0,0 +1,14 @@
+import { api } from "@/server/api/client";
+import AllListsView from "./components/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>
+  );
+}
-- 
cgit v1.3-1-g0d28

