aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/components/FeedItem.tsx
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-13 12:26:43 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-13 12:26:43 -0800
commita1baa8f9655e6fc4343475d2a38b2d7f6c7d0955 (patch)
treecf48c128f3690440262dfb251f6e7d265763716c /frontend/src/components/FeedItem.tsx
parentf8fcc0be57fa7f471ffd22d4b9559cb6d0ff20bf (diff)
downloadneko-a1baa8f9655e6fc4343475d2a38b2d7f6c7d0955.tar.gz
neko-a1baa8f9655e6fc4343475d2a38b2d7f6c7d0955.tar.bz2
neko-a1baa8f9655e6fc4343475d2a38b2d7f6c7d0955.zip
UI: remove explicit mark read buttons (NK-ahzf5c)
Diffstat (limited to 'frontend/src/components/FeedItem.tsx')
-rw-r--r--frontend/src/components/FeedItem.tsx10
1 files changed, 0 insertions, 10 deletions
diff --git a/frontend/src/components/FeedItem.tsx b/frontend/src/components/FeedItem.tsx
index ae6f8a5..03910e4 100644
--- a/frontend/src/components/FeedItem.tsx
+++ b/frontend/src/components/FeedItem.tsx
@@ -10,9 +10,6 @@ export default function FeedItem({ item: initialItem }: FeedItemProps) {
const [item, setItem] = useState(initialItem);
const [loading, setLoading] = useState(false);
- const toggleRead = () => {
- updateItem({ ...item, read: !item.read });
- };
const toggleStar = () => {
updateItem({ ...item, starred: !item.starred });
@@ -68,13 +65,6 @@ export default function FeedItem({ item: initialItem }: FeedItemProps) {
</a>
<div className="item-actions" style={{ display: 'inline-block', float: 'right' }}>
<button
- onClick={toggleRead}
- className={`action-btn ${item.read ? 'is-read' : 'is-unread'}`}
- title={item.read ? "Mark as unread" : "Mark as read"}
- >
- {item.read ? 'keep unread' : 'mark read'}
- </button>
- <button
onClick={toggleStar}
className={`action-btn ${item.starred ? 'is-starred' : 'is-unstarred'}`}
title={item.starred ? "Unstar" : "Star"}