mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-29 02:06:34 +02:00
Fix missing vote icon
This commit is contained in:
parent
9dd7c5a948
commit
3d7e7e8a95
2 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
);
|
||||
|
|
|
@ -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>;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue