diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index d47d4ea..8a2f79f 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -7,9 +7,17 @@ function App() { const [message, setMessage] = useState(''); useEffect(() => { - axios.get('https://api.anatid.net/') + axios.get('https://api.anatid.net/blogposts') .then(response => { - setMessage(response.data); + const blogpostItems = response.data.map(blogpost => +
{message}
+