diff options
Diffstat (limited to 'apps/web/app')
| -rw-r--r-- | apps/web/app/dashboard/lists/page.tsx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/apps/web/app/dashboard/lists/page.tsx b/apps/web/app/dashboard/lists/page.tsx index 1c28073d..7950cd76 100644 --- a/apps/web/app/dashboard/lists/page.tsx +++ b/apps/web/app/dashboard/lists/page.tsx @@ -1,4 +1,5 @@ import AllListsView from "@/components/dashboard/lists/AllListsView"; +import { PendingInvitationsCard } from "@/components/dashboard/lists/PendingInvitationsCard"; import { Separator } from "@/components/ui/separator"; import { useTranslation } from "@/lib/i18n/server"; import { api } from "@/server/api/client"; @@ -9,10 +10,13 @@ export default async function ListsPage() { const lists = await api.lists.list(); return ( - <div className="flex flex-col gap-3 rounded-md border bg-background p-4"> - <p className="text-2xl">📋 {t("lists.all_lists")}</p> - <Separator /> - <AllListsView initialData={lists.lists} /> + <div className="flex flex-col gap-4"> + <PendingInvitationsCard /> + <div className="flex flex-col gap-3 rounded-md border bg-background p-4"> + <p className="text-2xl">📋 {t("lists.all_lists")}</p> + <Separator /> + <AllListsView initialData={lists.lists} /> + </div> </div> ); } |
