aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/components/FeedList.tsx
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-14 21:11:40 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-14 21:11:40 -0800
commitd5a413382c93efeb1d888daf3216c51cd5f40f75 (patch)
treea7d8505a0a1c90050ea6bd33c02f7e8a5b5537e5 /frontend/src/components/FeedList.tsx
parenta7369274ba24298a0449865f147fc65253e992a2 (diff)
downloadneko-d5a413382c93efeb1d888daf3216c51cd5f40f75.tar.gz
neko-d5a413382c93efeb1d888daf3216c51cd5f40f75.tar.bz2
neko-d5a413382c93efeb1d888daf3216c51cd5f40f75.zip
chore: fix lint and type errors to resolve CI failures
Diffstat (limited to 'frontend/src/components/FeedList.tsx')
-rw-r--r--frontend/src/components/FeedList.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/components/FeedList.tsx b/frontend/src/components/FeedList.tsx
index a4ecccf..fed9196 100644
--- a/frontend/src/components/FeedList.tsx
+++ b/frontend/src/components/FeedList.tsx
@@ -66,11 +66,11 @@ export default function FeedList({
Promise.all([
apiFetch('/api/feed/').then((res) => {
if (!res.ok) throw new Error('Failed to fetch feeds');
- return res.json();
+ return res.json() as Promise<Feed[]>;
}),
apiFetch('/api/tag').then((res) => {
if (!res.ok) throw new Error('Failed to fetch tags');
- return res.json();
+ return res.json() as Promise<Category[]>;
}),
])
.then(([feedsData, tagsData]) => {