aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web/app/dashboard/lists/page.tsx
blob: 88eeda4761f477693b8fa21b2831fd2cd0e5ae9a (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/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>
  );
}