Skip to content

Commit 726f470

Browse files
authored
Merge pull request #956 from topcoder-platform/CORE-96-1
fix: remove payment provider
2 parents 10c8603 + 08f0231 commit 726f470

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/apps/wallet/src/home/tabs/payments/PaymentsTab.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -198,15 +198,6 @@ const PaymentsTab: FC = () => {
198198
}
199199
}}
200200
onRemoveProvider={async function onRemoveProvider() {
201-
const transactionId = selectedPaymentProvider.transactionId
202-
if (transactionId === undefined) {
203-
toast.error(
204-
'Something went wrong. Please try again.',
205-
{ position: toast.POSITION.BOTTOM_RIGHT },
206-
)
207-
return
208-
}
209-
210201
try {
211202
// eslint-disable-next-line max-len
212203
const response: TransactionResponse = await removePaymentProvider(selectedPaymentProvider.type)

0 commit comments

Comments
 (0)