aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/views/MainPane.js
diff options
context:
space:
mode:
authorEmiliano Ciavatta2020-05-09 12:34:08 +0000
committerEmiliano Ciavatta2020-05-09 12:34:08 +0000
commit6006d47c1f3397862bb13c782d66689067135bdb (patch)
treea86e5a275063485cc93a5d8b7077ec119900037d /frontend/src/views/MainPane.js
parentdee7d7dfcbec7ef4475896935873f04d4df0d40f (diff)
Add infinite scroll to connections, implement connection actions
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() {