diff --git a/src/renderer/component/transactionList/view.jsx b/src/renderer/component/transactionList/view.jsx index 150991e22..c498a19b5 100644 --- a/src/renderer/component/transactionList/view.jsx +++ b/src/renderer/component/transactionList/view.jsx @@ -4,7 +4,7 @@ import { FormField } from 'component/common/form'; import Button from 'component/button'; import FileExporter from 'component/common/file-exporter'; import * as icons from 'constants/icons'; -import { MODALS } from 'lbry-redux'; +import { MODALS, TRANSACTIONS } from 'lbry-redux'; import TransactionListItem from './internal/transaction-list-item'; export type Transaction = { @@ -45,6 +45,10 @@ class TransactionList extends React.PureComponent { (this: any).isRevokeable = this.isRevokeable.bind(this); } + capitalize(string: string) { + return string.charAt(0).toUpperCase() + string.slice(1); + } + handleFilterChanged(event: SyntheticInputEvent<*>) { this.setState({ filter: event.target.value, @@ -108,14 +112,30 @@ class TransactionList extends React.PureComponent { } > - - - - - - - - + + + + + + + + )}