From 2e4f332fe80e04535e666546ba91946d2877d10b Mon Sep 17 00:00:00 2001 From: Chris Hondl Date: Thu, 9 Jul 2026 23:46:25 -0700 Subject: [PATCH] Reduce not-found render delay from 8s to 1.5s The not-found placeholder waited 8000ms before rendering, leaving a blank content area for 8 full seconds on any nonexistent or slow-to-load entity (/team/99999, /event/2026zzzzz, etc.). The debounce exists only to avoid a flash of the not-found message before data arrives; 1.5s is ample for that while no longer looking like a hung page. (The comment already described the intent as 'one second'; the 8000 value grew from 1000 over prior commits.) --- frontend/src/pagesContent/shared/notFound.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pagesContent/shared/notFound.tsx b/frontend/src/pagesContent/shared/notFound.tsx index 0f03fa67..269bd50f 100644 --- a/frontend/src/pagesContent/shared/notFound.tsx +++ b/frontend/src/pagesContent/shared/notFound.tsx @@ -11,7 +11,7 @@ const NotFound = ({ type }: { type: string }) => { useEffect(() => { setTimeout(() => { setRender(true); - }, 8000); + }, 1500); }, []); if (!render) {