Skip to content

Commit 24497c3

Browse files
committed
remove this
1 parent 2196a69 commit 24497c3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

client/deposits/list/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* External dependencies
55
*/
6-
import React, { useState } from 'react';
6+
import React from 'react';
77
import { recordEvent } from 'tracks';
88
import { __, _n, sprintf } from '@wordpress/i18n';
99
import { TableCard, Link } from '@woocommerce/components';
@@ -194,9 +194,9 @@ export const DepositsList = (): JSX.Element => {
194194
),
195195
},
196196
net: {
197-
value: formatExportAmount( deposit.net, deposit.currency ),
197+
value: formatExportAmount( deposit.amount, deposit.currency ),
198198
display: clickable(
199-
formatExplicitCurrency( deposit.net, deposit.currency )
199+
formatExplicitCurrency( deposit.amount, deposit.currency )
200200
),
201201
},
202202
status: {

client/types/deposits.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export interface CachedDeposit {
3030
currency: string;
3131
fee_percentage: number;
3232
fee: number;
33-
net: number;
3433
status: DepositStatus;
3534
bankAccount: string;
3635
automatic: boolean;

0 commit comments

Comments
 (0)