aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/app/dashboard/lists
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-03-13 22:37:41 +0000
committerMohamed Bassem <me@mbassem.com>2024-03-14 16:40:45 +0000
commita03f1dc2ac25579df30e8cb59d2703110c3e564d (patch)
tree59315e73cd83dc391660071c70752cf23989b3da /apps/web/app/dashboard/lists
parent04572a8e5081b1e4871e273cde9dbaaa44c52fe0 (diff)
downloadkarakeep-a03f1dc2ac25579df30e8cb59d2703110c3e564d.tar.zst
lint: Lint and format the entire repo with the new configs
Diffstat (limited to 'apps/web/app/dashboard/lists')
-rw-r--r--apps/web/app/dashboard/lists/[listId]/page.tsx6
-rw-r--r--apps/web/app/dashboard/lists/page.tsx2
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/web/app/dashboard/lists/[listId]/page.tsx b/apps/web/app/dashboard/lists/[listId]/page.tsx
index 006fd3ad..4e35c377 100644
--- a/apps/web/app/dashboard/lists/[listId]/page.tsx
+++ b/apps/web/app/dashboard/lists/[listId]/page.tsx
@@ -1,9 +1,9 @@
+import { notFound, redirect } from "next/navigation";
+import DeleteListButton from "@/components/dashboard/lists/DeleteListButton";
+import ListView from "@/components/dashboard/lists/ListView";
import { api } from "@/server/api/client";
import { getServerAuthSession } from "@/server/auth";
import { TRPCError } from "@trpc/server";
-import { notFound, redirect } from "next/navigation";
-import ListView from "@/components/dashboard/lists/ListView";
-import DeleteListButton from "@/components/dashboard/lists/DeleteListButton";
export default async function ListPage({
params,
diff --git a/apps/web/app/dashboard/lists/page.tsx b/apps/web/app/dashboard/lists/page.tsx
index 88eeda47..a8c53eb6 100644
--- a/apps/web/app/dashboard/lists/page.tsx
+++ b/apps/web/app/dashboard/lists/page.tsx
@@ -1,5 +1,5 @@
-import { api } from "@/server/api/client";
import AllListsView from "@/components/dashboard/lists/AllListsView";
+import { api } from "@/server/api/client";
export default async function ListsPage() {
const lists = await api.lists.list();