aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/components/FeedItems.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/FeedItems.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/FeedItems.tsx')
-rw-r--r--frontend/src/components/FeedItems.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/src/components/FeedItems.tsx b/frontend/src/components/FeedItems.tsx
index f43852b..8c69905 100644
--- a/frontend/src/components/FeedItems.tsx
+++ b/frontend/src/components/FeedItems.tsx
@@ -89,6 +89,7 @@ export default function FeedItems() {
useEffect(() => {
fetchItems();
setSelectedIndex(-1);
+ // eslint-disable-next-line react-hooks/exhaustive-deps
}, [feedId, tagName, filterFn, searchParams]);
@@ -166,6 +167,7 @@ export default function FeedItems() {
window.addEventListener('keydown', handleKeyDown);
return () => window.removeEventListener('keydown', handleKeyDown);
+ // eslint-disable-next-line react-hooks/exhaustive-deps
}, [items, hasMore, loadingMore]);
@@ -214,6 +216,7 @@ export default function FeedItems() {
itemObserver.disconnect();
sentinelObserver.disconnect();
};
+ // eslint-disable-next-line react-hooks/exhaustive-deps
}, [items, loadingMore, hasMore]);
if (loading) return <div className="feed-items-loading">Loading items...</div>;