Преглед на файлове

Remove read article notification

Removed the "Marquer lu" button and associated notification from the `NewsCard` component.
gpt-engineer-app[bot] преди 5 месеца
родител
ревизия
f3a7aa059f
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  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);
     }