From b9c7497fc25d23492fe013a3541b8d4d66c6970c Mon Sep 17 00:00:00 2001
From: Adam Mathes <adam@adammathes.com>
Date: Fri, 13 Feb 2026 12:27:31 -0800
Subject: UI: replace text star button with icon next to title (NK-ymf1jb)

---
 frontend/src/components/FeedItem.test.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'frontend/src/components/FeedItem.test.tsx')

diff --git a/frontend/src/components/FeedItem.test.tsx b/frontend/src/components/FeedItem.test.tsx
index 5e7522f..913e6ff 100644
--- a/frontend/src/components/FeedItem.test.tsx
+++ b/frontend/src/components/FeedItem.test.tsx
@@ -36,10 +36,11 @@ describe('FeedItem Component', () => {
         render(<FeedItem item={mockItem} />);
 
         const starBtn = screen.getByTitle('Star');
+        expect(starBtn).toHaveTextContent('☆');
         fireEvent.click(starBtn);
 
         // Optimistic update
-        expect(await screen.findByTitle('Unstar')).toBeInTheDocument();
+        expect(await screen.findByTitle('Unstar')).toHaveTextContent('★');
 
         expect(global.fetch).toHaveBeenCalledWith('/api/item/1', expect.objectContaining({
             method: 'PUT',
-- 
cgit v1.2.3

