aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web/app/dashboard/lists/page.tsx
blob: 62e328b0fd8c95779da47362f93c665a58450fa1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>
  );
}