From 86cfa4b3c88c2d2761bd9abfee880b72e3449f73 Mon Sep 17 00:00:00 2001 From: devops Date: Fri, 16 Oct 2026 21:03:13 +0000 Subject: [PATCH] fix(pdp): keep initial server product visible --- frontend/application/components/ProductPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/application/components/ProductPage.tsx b/frontend/application/components/ProductPage.tsx index d8fe376d..31fd0e85 100644 --- a/frontend/application/components/ProductPage.tsx +++ b/frontend/application/components/ProductPage.tsx @@ -136,7 +136,7 @@ export default function ProductPage({ const router = useRouter(); const [product, setProduct] = useState(initialProduct ?? null); const [allProducts, setAllProducts] = useState([]); - const [isLoading, setIsLoading] = useState(true); + const [isLoading, setIsLoading] = useState(!initialProduct); const [itemQuantity, setItemQuantity] = useState(1); const [showRefillModal, setShowRefillModal] = useState(false); const [isMounted, setIsMounted] = useState(false);