Skip to content

Commit 6c27bb9

Browse files
authored
Merge pull request #959 from topcoder-platform/dev
fix: wallet app fixes and improvements (core-96)
2 parents 11f4bfe + 0ef2d21 commit 6c27bb9

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
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)

src/apps/wallet/src/home/tabs/tax-forms/TaxFormsTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const TAX_FORM_DETAILS = [
8686
icon: <IconWorld />,
8787
id: 'W-8BEN-E',
8888
instructionsLabel: 'Instructions',
89-
instructionsLink: 'https://www.irs.gov/pub/irs-pdf/iw8ben.pdf',
89+
instructionsLink: 'https://www.irs.gov/pub/irs-pdf/iw8bene.pdf',
9090
reasonDescription:
9191
// eslint-disable-next-line max-len
9292
'Under current IRS guidance, foreign persons performing services outside of the U.S. are not subject to income tax withholding. However, Topcoder requires all such members to provide a properly filled out W-8BEN-E prior to issuing payment. In addition, prize money paid to foreign persons who are not performing services (such as winning an SRM competition) is subject to withholding taxes.',

src/apps/wallet/src/home/tabs/winnings/WinningsTab.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,10 @@ const ListView: FC<ListViewProps> = (props: ListViewProps) => {
191191
key: 'type',
192192
label: 'Type',
193193
options: [
194+
{
195+
label: 'Task Payment',
196+
value: 'TASK_PAYMENT',
197+
},
194198
{
195199
label: 'Contest Payment',
196200
value: 'CONTEST_PAYMENT',

0 commit comments

Comments
 (0)