preventDefault the form
This commit is contained in:
@@ -19,9 +19,10 @@ export default class Topbar extends React.Component {
|
|||||||
this.setState({url: value})
|
this.setState({url: value})
|
||||||
}
|
}
|
||||||
|
|
||||||
downloadUrl = () => {
|
downloadUrl = (e) => {
|
||||||
this.props.specActions.updateUrl(this.state.url)
|
this.props.specActions.updateUrl(this.state.url)
|
||||||
this.props.specActions.download(this.state.url)
|
this.props.specActions.download(this.state.url)
|
||||||
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
|||||||
Reference in New Issue
Block a user