AccountRegister: Don't try to access null account

This commit is contained in:
Aaron Lindsay 2016-02-13 09:38:08 -05:00
parent 2621f64cc7
commit 2a8c79cc14
1 changed files with 2 additions and 1 deletions

View File

@ -792,7 +792,8 @@ module.exports = React.createClass({
transactions: [],
currentPage: 0
});
this.getTransactionPage(nextProps.selectedAccount, 0);
if (nextProps.selectedAccount != null)
this.getTransactionPage(nextProps.selectedAccount, 0);
}
},
render: function() {