diff --git a/src/components/Row.tsx b/src/components/Row.tsx index 27619e2..649efc7 100644 --- a/src/components/Row.tsx +++ b/src/components/Row.tsx @@ -51,11 +51,11 @@ const Row = ({ } const onLinkClick = (e: MouseEvent) => { + e.preventDefault(); if (pathname === href) { - router.refresh(); + startTransition(() => router.refresh()); console.log('refreshing from row', pathname, href); } else { - e.preventDefault(); startTransition(() => router.push(href)); } };