Show participated polls on polls page + UI refresh (#1089)

This commit is contained in:
Luke Vella 2024-05-12 13:20:00 +08:00 committed by GitHub
parent bd9e9fe95b
commit f8a217ae75
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
125 changed files with 3007 additions and 2363 deletions

View file

@ -91,12 +91,11 @@ export const ParticipantDropdown = ({
</DropdownMenuItemIconLabel>
</DropdownMenuItem>
<DropdownMenuItem
className="text-rose-600"
className="text-destructive"
onClick={() => setIsDeleteParticipantModalVisible(true)}
>
<DropdownMenuItemIconLabel icon={TrashIcon}>
<Trans i18nKey="delete" />
</DropdownMenuItemIconLabel>
<TrashIcon className="size-4" />
<Trans i18nKey="delete" />
</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>