From c756cafe87f25a2e149211d37a3a733b2bb20191 Mon Sep 17 00:00:00 2001 From: Lo Kim Date: Fri, 29 Mar 2024 12:44:41 -0400 Subject: [PATCH] [EmptyState] Revert testing state --- polaris-react/src/components/EmptyState/EmptyState.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polaris-react/src/components/EmptyState/EmptyState.tsx b/polaris-react/src/components/EmptyState/EmptyState.tsx index 4f742fcbb18..c1700eb0fa7 100644 --- a/polaris-react/src/components/EmptyState/EmptyState.tsx +++ b/polaris-react/src/components/EmptyState/EmptyState.tsx @@ -46,7 +46,7 @@ export function EmptyState({ secondaryAction, footerContent, }: EmptyStateProps) { - const [imageLoaded, setImageLoaded] = useState(true); + const [imageLoaded, setImageLoaded] = useState(false); useEffect(() => { const img: HTMLImageElement = new window.Image(0, 0);