Created
May 30, 2018 09:37
-
-
Save Vladimir-Novick/5afe0aeea0c58840057653b5c6df1414 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The full solution for the issue of the page reloading will be: | |
private renderButtons() { | |
return <div className="buttonDiv"> | |
<button type="button" className="btn btn-default" onClick={this.dataRefrech}>Refresh</button> | |
<button type="button" className="btn btn-default btn-right" onClick={this.handleClick}>Remove From Queue</button> | |
</div>; | |
} | |
dataRefrech(e:any) { | |
e.preventDefault(); | |
var startDateIndex = new Date().getUTCMilliseconds(); | |
this.props.requestQueItems(startDateIndex); | |
this.updateDimensions(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment