From 855df990f6c85c30b61e1ca02586f09938d26eb5 Mon Sep 17 00:00:00 2001 From: Umair Jibran Date: Thu, 19 Feb 2026 15:05:16 +0500 Subject: [PATCH] Fix LinkedIn URLs and tidy formatting --- src/app/page.tsx | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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