Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

Fix missing vote icon

Luke Vella3d7e7e8a9553
diff --git a/components/poll/mobile-poll/poll-option.tsx b/components/poll/mobile-poll/poll-option.tsx
index 7d9c64aa2..1015c7a6c 100644
--- a/components/poll/mobile-poll/poll-option.tsx
+++ b/components/poll/mobile-poll/poll-option.tsx
@@ -125,7 +125,7 @@ const PollOption: React.VoidFunctionComponent<PollOptionProps> = ({
<div className="flex h-full w-14 items-center justify-center">
<VoteSelector ref={selectorRef} value={vote} onChange={onChange} />
</div>
- ) : vote ? (
+ ) : (
<AnimatePresence initial={false}>
<PopInOut
key={vote}
@@ -134,7 +134,7 @@ const PollOption: React.VoidFunctionComponent<PollOptionProps> = ({
<VoteIcon type={vote} />
</PopInOut>
</AnimatePresence>
- ) : null}
+ )}
</CollapsibleContainer>
</div>
);
diff --git a/components/poll/vote-icon.tsx b/components/poll/vote-icon.tsx
index 1aed2d61e..3122177cb 100644
--- a/components/poll/vote-icon.tsx
+++ b/components/poll/vote-icon.tsx
@@ -20,7 +20,7 @@ const VoteIcon: React.VoidFunctionComponent<{
);
default:
- return <span className="inline-block font-bold text-slate-300">?</span>;
+ return <span className="inline-block font-bold text-slate-400">?</span>;
}
};