Fix build

This commit is contained in:
jahooma 2021-12-19 15:05:39 -06:00
parent 80ffed9460
commit 1d9adcbeaf

View File

@ -182,9 +182,7 @@ export function ContractsList(props: { creator: User }) {
}
}, [creator])
return (
contracts !== 'loading' && (
<SearchableGrid contracts={contracts} defaultSort="all" />
)
)
if (contracts === 'loading') return <></>
return <SearchableGrid contracts={contracts} defaultSort="all" />
}