Skip to content

Commit

Permalink
+ reload transactions on address link click even if the current loade…
Browse files Browse the repository at this point in the history
…d address and show first page of results
  • Loading branch information
germanf committed Apr 9, 2021
1 parent 2392042 commit 8ba24eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/containers/Transactions/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { createStructuredSelector } from 'reselect';
import { compose } from 'redux';
import isNil from 'lodash/isNil';
import List from 'components/List';
import TransactionListHeader from 'components/TransactionListHeader';
import Transaction from 'components/Transaction';
Expand Down Expand Up @@ -85,7 +86,7 @@ export function Transactions(props) {
: TRANSACTION_TYPE.CONFIRMED,
);
}
}, [props.addr]);
}, [props.addr, isNil(props.match.params.page)]);

useEffect(() => {
// load class AB transactions when it's selected
Expand Down

0 comments on commit 8ba24eb

Please sign in to comment.