Skip to content

Commit

Permalink
fix: cursor changes for clickable label (#464)
Browse files Browse the repository at this point in the history
Co-authored-by: Pritish Budhiraja <[email protected]>
  • Loading branch information
gitanjli525 and Pritish Budhiraja authored Mar 1, 2024
1 parent ae0d928 commit 4f62325
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/screens/Connectors/ConnectorUIUtils/PaymentMethod.res
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,12 @@ module CardRenderer = {
),
]>
<div className="flex items-center gap-2">
<div onClick={_ => removeOrAddMethods(value)}>
<div onClick={_ => removeOrAddMethods(value)} className="cursor-pointer">
<CheckBoxIcon isSelected={isSelected(value)} />
</div>
<p className=p2RegularTextStyle onClick={_ => removeOrAddMethods(value)}>
<p
className={`${p2RegularTextStyle} cursor-pointer`}
onClick={_ => removeOrAddMethods(value)}>
{React.string(value.payment_method_type->snakeToTitle)}
</p>
</div>
Expand Down

0 comments on commit 4f62325

Please sign in to comment.