diff options
Diffstat (limited to 'apps/web/app')
| -rw-r--r-- | apps/web/app/dashboard/cleanups/page.tsx | 1 | ||||
| -rw-r--r-- | apps/web/app/dashboard/highlights/page.tsx | 1 | ||||
| -rw-r--r-- | apps/web/app/dashboard/lists/page.tsx | 1 | ||||
| -rw-r--r-- | apps/web/app/dashboard/tags/page.tsx | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/apps/web/app/dashboard/cleanups/page.tsx b/apps/web/app/dashboard/cleanups/page.tsx index 1974d2a7..8da6e75b 100644 --- a/apps/web/app/dashboard/cleanups/page.tsx +++ b/apps/web/app/dashboard/cleanups/page.tsx @@ -4,6 +4,7 @@ import { useTranslation } from "@/lib/i18n/server"; import { Paintbrush, Tags } from "lucide-react"; export default async function Cleanups() { + // oxlint-disable-next-line rules-of-hooks const { t } = await useTranslation(); return ( diff --git a/apps/web/app/dashboard/highlights/page.tsx b/apps/web/app/dashboard/highlights/page.tsx index 646b1c41..1410d1fd 100644 --- a/apps/web/app/dashboard/highlights/page.tsx +++ b/apps/web/app/dashboard/highlights/page.tsx @@ -5,6 +5,7 @@ import { api } from "@/server/api/client"; import { Highlighter } from "lucide-react"; export default async function HighlightsPage() { + // oxlint-disable-next-line rules-of-hooks const { t } = await useTranslation(); const highlights = await api.highlights.getAll({}); return ( diff --git a/apps/web/app/dashboard/lists/page.tsx b/apps/web/app/dashboard/lists/page.tsx index 36eb8b7a..1c28073d 100644 --- a/apps/web/app/dashboard/lists/page.tsx +++ b/apps/web/app/dashboard/lists/page.tsx @@ -4,6 +4,7 @@ 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(); diff --git a/apps/web/app/dashboard/tags/page.tsx b/apps/web/app/dashboard/tags/page.tsx index 1639e4c5..9108d6ba 100644 --- a/apps/web/app/dashboard/tags/page.tsx +++ b/apps/web/app/dashboard/tags/page.tsx @@ -4,6 +4,7 @@ import { useTranslation } from "@/lib/i18n/server"; import { api } from "@/server/api/client"; export default async function TagsPage() { + // oxlint-disable-next-line rules-of-hooks const { t } = await useTranslation(); const allTags = (await api.tags.list()).tags; |
