General bug fixes #1353

Merged
neb-b merged 6 commits from lbry-redux-fixes into master 2018-04-19 21:30:25 +02:00
Showing only changes of commit 63183f58cd - Show all commits

View file

@ -13,7 +13,12 @@ type Props = {
class WalletAddress extends React.PureComponent<Props> {
componentWillMount() {
this.props.checkAddressIsMine(this.props.receiveAddress);
const { checkAddressIsMine, receiveAddress, getNewAddress } = this.props;
if (!receiveAddress) {
getNewAddress();
} else {
checkAddressIsMine(receiveAddress);
}
}
render() {