diff --git a/src/ui/component/transactionList/view.jsx b/src/ui/component/transactionList/view.jsx index 80ea852c5..e9df277c7 100644 --- a/src/ui/component/transactionList/view.jsx +++ b/src/ui/component/transactionList/view.jsx @@ -4,7 +4,8 @@ import React from 'react'; import { FormField } from 'component/common/form'; import Button from 'component/button'; import FileExporter from 'component/common/file-exporter'; -import { TRANSACTIONS } from 'lbry-redux'; +import { TRANSACTIONS, TX_LIST } from 'lbry-redux'; +import * as PAGES from 'constants/pages'; import TransactionListTable from 'component/transactionListTable'; import RefreshTransactionButton from 'component/transactionRefreshButton'; import Spinner from 'component/spinner'; @@ -25,7 +26,6 @@ type Props = { function TransactionList(props: Props) { const { emptyMessage, slim, filterSetting, title, transactions, loading, history, transactionCount } = props; - const PAGE_SIZE = 20; // Flow offers little support for Object.values() typing. // https://github.com/facebook/flow/issues/2221 // $FlowFixMe @@ -37,7 +37,7 @@ function TransactionList(props: Props) { function handleFilterChanged(event: SyntheticInputEvent<*>) { props.setTransactionFilter(event.target.value); - history.replace(`#/$/transactions`); // + history.replace(`/$/${PAGES.TRANSACTIONS}`); // } return ( @@ -50,7 +50,12 @@ function TransactionList(props: Props) {