aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/views/MainPane.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/views/MainPane.js')
-rw-r--r--frontend/src/views/MainPane.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/frontend/src/views/MainPane.js b/frontend/src/views/MainPane.js
index 0fc083e..e84f94c 100644
--- a/frontend/src/views/MainPane.js
+++ b/frontend/src/views/MainPane.js
@@ -19,9 +19,7 @@ class MainPane extends Component {
const id = this.props.match.params.id;
this.setState({id: id});
- axios.get(`/api/streams/${id}`).then(res => this.setState({connectionContent: res.data}))
-
-
+ axios.get(`/api/streams/${id}`).then(res => this.setState({connectionContent: res.data}));
}
}
@@ -30,12 +28,8 @@ class MainPane extends Component {
const id = this.props.match.params.id;
this.setState({id: id});
- axios.get(`/api/streams/${id}`).then(res => this.setState({connectionContent: res.data}))
-
-
+ axios.get(`/api/streams/${id}`).then(res => this.setState({connectionContent: res.data}));
}
-
-
}
render() {