mirror of
https://github.com/karakeep-app/karakeep.git
synced 2025-12-12 20:35:52 +01:00
* chore: migrate away from eslint to oxlint * revert turbo task name lint * it seems like we can remove the seemingly default globals
19 lines
629 B
TypeScript
19 lines
629 B
TypeScript
import AllListsView from "@/components/dashboard/lists/AllListsView";
|
|
import { Separator } from "@/components/ui/separator";
|
|
import { useTranslation } from "@/lib/i18n/server";
|
|
import { api } from "@/server/api/client";
|
|
|
|
export default async function ListsPage() {
|
|
// oxlint-disable-next-line rules-of-hooks
|
|
const { t } = await useTranslation();
|
|
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>
|
|
);
|
|
}
|