diff --git a/ui/component/txoList/view.jsx b/ui/component/txoList/view.jsx index 9153842b5..436a11974 100644 --- a/ui/component/txoList/view.jsx +++ b/ui/component/txoList/view.jsx @@ -71,7 +71,7 @@ function TxoList(props: Props) { ); } - function getAccountTransactionsa() { + function getAccountTransactions() { return Lbryio.call( 'account', 'list', @@ -86,9 +86,9 @@ function TxoList(props: Props) { React.useEffect(() => { (async function() { try { - const getAccountTransactions = await getAccountTransactionsa(); + const accountTransactionResponse = await getAccountTransactions(); - setAccountTransactionResponse(getAccountTransactions); + setAccountTransactionResponse(accountTransactionResponse); } catch (err) { console.log(err); } @@ -197,14 +197,8 @@ function TxoList(props: Props) { function updateUrl(delta: Delta) { const newUrlParams = new URLSearchParams(); - const existingCurrency = newUrlParams.get('currency') || 'credits'; - const existingFiatType = newUrlParams.get('fiatType') || 'incoming'; - console.log(existingFiatType); - - console.log(newUrlParams); - // set tab name to account for wallet page tab newUrlParams.set('tab', delta.tab); @@ -291,7 +285,7 @@ function TxoList(props: Props) { return (
{__(`Transactions`)}
+ <>
{__(`Transactions`)}
@@ -317,24 +311,6 @@ function TxoList(props: Props) { } - titleActions={<> - //
- // {!isFetchingTransactions && transactionsFile === null && ( - // - // )} - //
- // fetchTransactions()} - // progressMsg={isFetchingTransactions ? __('Fetching data') : ''} - // /> - //
- //
- } isBodyList body={currency === 'credits' ?
diff --git a/ui/scss/component/_txo-list.scss b/ui/scss/component/_txo-list.scss index 58d38adf5..a9088378b 100644 --- a/ui/scss/component/_txo-list.scss +++ b/ui/scss/component/_txo-list.scss @@ -10,3 +10,8 @@ display: block; } } + +.table__header-text { + width: 124px; + display: inline-block; +}