diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-06-22 12:38:24 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2025-06-22 12:38:24 +0000 |
| commit | f7b31938159274443a288416fadf771c67640fba (patch) | |
| tree | c98793a22d92583f62ee08a4bba47bb29f0012d0 /apps/web | |
| parent | d5e2973dce617f451e4eb07491b3a6874ea6ca47 (diff) | |
| download | karakeep-f7b31938159274443a288416fadf771c67640fba.tar.zst | |
chore: More oxlint changes
Diffstat (limited to 'apps/web')
| -rw-r--r-- | apps/web/.oxlintrc.json | 3 | ||||
| -rw-r--r-- | apps/web/components/dashboard/tags/MergeTagModal.tsx | 2 | ||||
| -rw-r--r-- | apps/web/components/settings/ImportExport.tsx | 14 |
3 files changed, 7 insertions, 12 deletions
diff --git a/apps/web/.oxlintrc.json b/apps/web/.oxlintrc.json index 3a2cb742..d0a51846 100644 --- a/apps/web/.oxlintrc.json +++ b/apps/web/.oxlintrc.json @@ -5,9 +5,6 @@ "../../tooling/oxlint/oxlint-nextjs.json", "../../tooling/oxlint/oxlint-react.json" ], - "categories": { - "correctness": "warn" - }, "env": { "builtin": true, "commonjs": true, diff --git a/apps/web/components/dashboard/tags/MergeTagModal.tsx b/apps/web/components/dashboard/tags/MergeTagModal.tsx index b38c5713..c3ae1e57 100644 --- a/apps/web/components/dashboard/tags/MergeTagModal.tsx +++ b/apps/web/components/dashboard/tags/MergeTagModal.tsx @@ -50,7 +50,7 @@ export function MergeTagModal({ }, }); - const { mutate: mergeTag, isPending: isPending } = useMergeTag({ + const { mutate: mergeTag, isPending } = useMergeTag({ onSuccess: (resp) => { toast({ description: "Tag has been updated!", diff --git a/apps/web/components/settings/ImportExport.tsx b/apps/web/components/settings/ImportExport.tsx index 3dde577b..712c9c3e 100644 --- a/apps/web/components/settings/ImportExport.tsx +++ b/apps/web/components/settings/ImportExport.tsx @@ -150,14 +150,12 @@ export function ImportExportRow() { await Promise.all([ // Add to import list - ...[ - toImport.listIds.map((listId) => - addToList({ - bookmarkId: created.id, - listId, - }), - ), - ], + ...toImport.listIds.map((listId) => + addToList({ + bookmarkId: created.id, + listId, + }), + ), // Update tags bookmark.tags.length > 0 ? updateTags({ |
