Compare strings

This commit is contained in:
Justin 2022-05-02 14:31:54 -04:00
parent 2607a55380
commit 972d61bd8c

View file

@ -74,7 +74,7 @@ const ReasonStep = (_props: IReasonStep) => {
ref={rulesListRef} ref={rulesListRef}
> >
{rules.map((rule, idx) => { {rules.map((rule, idx) => {
const isSelected = String(ruleId) === rule.id; const isSelected = String(ruleId) === String(rule.id);
return ( return (
<button <button