| 3 | import { useState, useEffect } from 'react'; |
| 4 | |
| 5 | interface Article { |
| 6 | id: number; |
| 7 | title: string; |
| 8 | url: string; |
| 9 | image?: string; |
| 10 | category?: string; |
| 11 | created_at: string; |
| 12 | author: string; |
| 13 | comments: number; |
| 14 | reactions: number; |
| 15 | } |
| 16 | |
| 17 | interface ArticlesResponse { |
| 18 | articles: Article[]; |
nothing calls this directly
no outgoing calls
no test coverage detected