Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 2e85a63

Browse files
committed
Fetch Account Immediately After Server Starts
1 parent ec2f277 commit 2e85a63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/lightning-core/common/Streams.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ import { store } from 'lightning-store'
1010
export class Streams extends React.Component {
1111
componentWillReceiveProps(nextProps) {
1212
if (this.props.serverRunning === false && nextProps.serverRunning === true) {
13+
this.props.onFetchAccount()
14+
1315
this.interval = setInterval(() => {
1416
// POLL
1517
this.props.onFetchAccount()

0 commit comments

Comments
 (0)