contract overview: remove delete button for nonzero volume resolved contracts

This commit is contained in:
mantikoros 2021-12-15 12:52:43 -06:00
parent f0e0796b99
commit 663821d0a0

View File

@ -61,7 +61,7 @@ export const ContractOverview = (props: {
</div> </div>
{/* Show a delete button for contracts without any trading */} {/* Show a delete button for contracts without any trading */}
{isCreator && (volume === 0 || isResolved) && ( {isCreator && volume === 0 && (
<> <>
<Spacer h={8} /> <Spacer h={8} />
<button <button