mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-02 03:36:33 +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">
|
<div className="flex h-full w-14 items-center justify-center">
|
||||||
<VoteSelector ref={selectorRef} value={vote} onChange={onChange} />
|
<VoteSelector ref={selectorRef} value={vote} onChange={onChange} />
|
||||||
</div>
|
</div>
|
||||||
) : vote ? (
|
) : (
|
||||||
<AnimatePresence initial={false}>
|
<AnimatePresence initial={false}>
|
||||||
<PopInOut
|
<PopInOut
|
||||||
key={vote}
|
key={vote}
|
||||||
|
@ -134,7 +134,7 @@ const PollOption: React.VoidFunctionComponent<PollOptionProps> = ({
|
||||||
<VoteIcon type={vote} />
|
<VoteIcon type={vote} />
|
||||||
</PopInOut>
|
</PopInOut>
|
||||||
</AnimatePresence>
|
</AnimatePresence>
|
||||||
) : null}
|
)}
|
||||||
</CollapsibleContainer>
|
</CollapsibleContainer>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
@ -20,7 +20,7 @@ const VoteIcon: React.VoidFunctionComponent<{
|
||||||
);
|
);
|
||||||
|
|
||||||
default:
|
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