Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62417b8 commit dedfd16Copy full SHA for dedfd16
src/views/Base/BandwidthStatusCard/BandwidthStatusCard.js
@@ -31,7 +31,8 @@ class BandwidthStatusCard extends React.Component {
31
* Set the new bandwidth specified in state.bandwidthText
32
* Check if text is valid, before sending.
33
*/
34
- setBandwidth = () => {
+ setBandwidth = (e) => {
35
+ e.preventDefault();
36
const {bandwidthText, hasError} = this.state;
37
if (!hasError) {
38
const {setBandwidth} = this.props;
0 commit comments