mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 15:36:58 +00:00
revert to trash icon on payment widget
Signed-off-by: Loan Laux <loan@outgrow.io>
This commit is contained in:
parent
45c5b52967
commit
fb1fa865ac
@ -1,6 +1,6 @@
|
||||
import { FC } from 'react'
|
||||
import s from './PaymentWidget.module.css'
|
||||
import { ChevronRight, CreditCard, Pencil } from '@components/icons'
|
||||
import { ChevronRight, CreditCard, Trash } from '@components/icons'
|
||||
import { useUI } from '@components/ui/context'
|
||||
|
||||
interface ComponentProps {
|
||||
@ -32,7 +32,7 @@ const PaymentWidget: FC<ComponentProps> = ({ onClick }) => {
|
||||
</div>
|
||||
<div>
|
||||
{paymentMethodDetails?.paymentMethod ?
|
||||
<Pencil />
|
||||
<Trash />
|
||||
:
|
||||
<ChevronRight />
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user