aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/app/dashboard/lists/page.tsx
blob: a8c53eb67881c7b43816711466bd6ef8aa48f143 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import AllListsView from "@/components/dashboard/lists/AllListsView";
import { api } from "@/server/api/client";

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>
  );
}