diff --git a/src/pages/Dashboard/components/Tip.js b/src/pages/Dashboard/components/Tip.js index 0dddb2c..6d25628 100644 --- a/src/pages/Dashboard/components/Tip.js +++ b/src/pages/Dashboard/components/Tip.js @@ -56,6 +56,9 @@ class Tip extends Component { store.fetch.pos().subscribe(async result => { const posAddress = result.data.pos.address; this.setState({ posAddress }); + if(this.props.active) { + this.startWatcher(); + } }); } diff --git a/src/pages/Dashboard/mobile.view.js b/src/pages/Dashboard/mobile.view.js index 18d045f..a4f3ab0 100644 --- a/src/pages/Dashboard/mobile.view.js +++ b/src/pages/Dashboard/mobile.view.js @@ -36,7 +36,10 @@ export default function() { )} {activeTab === 'recentPayments' && } - {activeTab === 'tip' && } + ) : (
Pos address is empty