1
Fork 0
mirror of https://github.com/RGBCube/cinny synced 2025-07-30 16:37:46 +00:00

hide decline all public invite button when no invite

This commit is contained in:
Ajay Bura 2025-05-24 21:19:35 +05:30
parent 206ed33516
commit 59a007419f

View file

@ -439,6 +439,7 @@ function UnknownInvites({ invites, handleNavigate, compact }: UnknownInvitesProp
<Box gap="200" justifyContent="SpaceBetween" alignItems="Center">
<Text size="H4">Public</Text>
<Box>
{invites.length > 0 && (
<Chip
variant="SurfaceVariant"
onClick={declineAll}
@ -448,6 +449,7 @@ function UnknownInvites({ invites, handleNavigate, compact }: UnknownInvitesProp
>
<Text size="T200">Decline All</Text>
</Chip>
)}
</Box>
</Box>
{invites.length > 0 ? (