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 { FC } from 'react'
|
||||||
import s from './PaymentWidget.module.css'
|
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'
|
import { useUI } from '@components/ui/context'
|
||||||
|
|
||||||
interface ComponentProps {
|
interface ComponentProps {
|
||||||
@ -32,7 +32,7 @@ const PaymentWidget: FC<ComponentProps> = ({ onClick }) => {
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
{paymentMethodDetails?.paymentMethod ?
|
{paymentMethodDetails?.paymentMethod ?
|
||||||
<Pencil />
|
<Trash />
|
||||||
:
|
:
|
||||||
<ChevronRight />
|
<ChevronRight />
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user