diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-13 12:26:43 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-13 12:26:43 -0800 |
| commit | a1baa8f9655e6fc4343475d2a38b2d7f6c7d0955 (patch) | |
| tree | cf48c128f3690440262dfb251f6e7d265763716c /frontend/src/components/FeedItem.tsx | |
| parent | f8fcc0be57fa7f471ffd22d4b9559cb6d0ff20bf (diff) | |
| download | neko-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.tsx | 10 |
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"} |
