diff --git a/src/app/page.tsx b/src/app/page.tsx index a921128..70f5da6 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -248,7 +248,10 @@ function TestimonialsCarousel({ testimonials }: { testimonials: any[] }) { {testimonials[currentIndex].linkedin && ( @@ -320,7 +323,7 @@ export default function Home() { async function fetchLatest() { try { - const res = await fetch('/api/blogs'); + const res = await fetch("/api/blogs"); if (!res.ok) return; const data = await res.json(); const blogs: Story[] = data.blogs || []; @@ -333,7 +336,9 @@ export default function Home() { } fetchLatest(); - return () => { mounted = false }; + return () => { + mounted = false; + }; }, []); return ( @@ -377,8 +382,8 @@ export default function Home() {

Latest Writing

- View all