revert to trash icon on payment widget

Signed-off-by: Loan Laux <loan@outgrow.io>
This commit is contained in:
Loan Laux 2021-08-04 16:46:35 +02:00
parent 45c5b52967
commit fb1fa865ac
No known key found for this signature in database
GPG Key ID: AF9E9BD6548AD52E

View File

@ -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 />
} }