fix(web): CI lint failures from PR #632 (#634)
Some checks failed
ci/woodpecker/push/ci Pipeline failed

Co-authored-by: Jason Woltje <jason@diversecanvas.com>
Co-committed-by: Jason Woltje <jason@diversecanvas.com>
This commit was merged in pull request #634.
This commit is contained in:
2026-03-01 21:41:29 +00:00
committed by jason.woltje
parent c5ab179071
commit 5b235a668f
2 changed files with 193 additions and 7 deletions

View File

@@ -26,11 +26,7 @@ import {
DialogFooter,
} from "@/components/ui/dialog";
import { fetchEntries, createEntry, deleteEntry, fetchTags } from "@/lib/api/knowledge";
import type {
EntriesResponse,
CreateEntryData,
EntryFilters,
} from "@/lib/api/knowledge";
import type { EntriesResponse, CreateEntryData, EntryFilters } from "@/lib/api/knowledge";
/* ---------------------------------------------------------------------------
Helpers
@@ -439,7 +435,7 @@ function CreateEntryDialog({
.then((tags) => {
setAvailableTags(tags);
})
.catch((err) => {
.catch((err: unknown) => {
console.error("Failed to load tags:", err);
});
}
@@ -730,7 +726,9 @@ function CreateEntryDialog({
}}
onBlur={() => {
// Delay to allow click on suggestion
setTimeout(() => setShowSuggestions(false), 150);
setTimeout(() => {
setShowSuggestions(false);
}, 150);
}}
onFocus={() => {
if (tagInput.length > 0) setShowSuggestions(true);