diff --git a/apps/web/src/components/participant-dropdown.tsx b/apps/web/src/components/participant-dropdown.tsx index 4ea30fc68..eef5ca6e8 100644 --- a/apps/web/src/components/participant-dropdown.tsx +++ b/apps/web/src/components/participant-dropdown.tsx @@ -35,7 +35,6 @@ import { useForm } from "react-hook-form"; import { useMount } from "react-use"; import { z } from "zod"; -import { OptimizedAvatarImage } from "@/components/optimized-avatar-image"; import { useDeleteParticipantMutation } from "@/components/poll/mutations"; import { Trans } from "@/components/trans"; import { useTranslation } from "@/i18n/client"; @@ -77,18 +76,13 @@ export const ParticipantDropdown = ({ -
-
- -
-
-
{participant.name}
- {participant.email ? ( -
- {participant.email} -
- ) : null} -
+
+
{participant.name}
+ {participant.email ? ( +
+ {participant.email} +
+ ) : null}
diff --git a/apps/web/src/components/poll/desktop-poll/participant-row.tsx b/apps/web/src/components/poll/desktop-poll/participant-row.tsx index 57c09b02d..07117675c 100644 --- a/apps/web/src/components/poll/desktop-poll/participant-row.tsx +++ b/apps/web/src/components/poll/desktop-poll/participant-row.tsx @@ -139,7 +139,7 @@ const ParticipantRow: React.FunctionComponent = ({ align="start" onEdit={() => onChangeEditMode?.(true)} > -