hide group edit dialog when signed out

This commit is contained in:
mantikoros 2022-08-28 16:13:30 -05:00
parent 2e96721a5c
commit c88621de19

View File

@ -201,13 +201,15 @@ export function ContractDetails(props: {
>
{groupInfo}
</Button>
<Button
size={'xs'}
color={'gray-white'}
onClick={() => setOpen(!open)}
>
<PencilIcon className="mb-0.5 mr-0.5 inline h-4 w-4 shrink-0" />
</Button>
{user && (
<Button
size={'xs'}
color={'gray-white'}
onClick={() => setOpen(!open)}
>
<PencilIcon className="mb-0.5 mr-0.5 inline h-4 w-4 shrink-0" />
</Button>
)}
</Row>
)}
</Row>