Browse Source

Remove read article notification

Removed the "Marquer lu" button and associated notification from the `NewsCard` component.
gpt-engineer-app[bot] 5 tháng trước cách đây
mục cha
commit
f3a7aa059f
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      src/hooks/useRealArticles.tsx

+ 0 - 2
src/hooks/useRealArticles.tsx

@@ -226,8 +226,6 @@ export function useRealArticles() {
 
       // Remove the article from the list instead of just marking it as read
       setArticles(prev => prev.filter(item => item.id !== articleId));
-      
-      toast.success("Article marqué comme lu et retiré de la liste");
     } catch (error) {
       console.error('Error marking as read:', error);
     }