From 1d9adcbeaf9df9b49248fba751ce349672c3eab8 Mon Sep 17 00:00:00 2001 From: jahooma Date: Sun, 19 Dec 2021 15:05:39 -0600 Subject: [PATCH] Fix build --- web/components/contracts-list.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/web/components/contracts-list.tsx b/web/components/contracts-list.tsx index 1846aa4e..f0d15b7b 100644 --- a/web/components/contracts-list.tsx +++ b/web/components/contracts-list.tsx @@ -182,9 +182,7 @@ export function ContractsList(props: { creator: User }) { } }, [creator]) - return ( - contracts !== 'loading' && ( - - ) - ) + if (contracts === 'loading') return <> + + return }