aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/ConnectionContent.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/components/ConnectionContent.js
parentdee7d7dfcbec7ef4475896935873f04d4df0d40f (diff)
Add infinite scroll to connections, implement connection actions
Diffstat (limited to 'frontend/src/components/ConnectionContent.js')
-rw-r--r--frontend/src/components/ConnectionContent.js16
1 files changed, 4 insertions, 12 deletions
diff --git a/frontend/src/components/ConnectionContent.js b/frontend/src/components/ConnectionContent.js
index bd35b5c..db63cbe 100644
--- a/frontend/src/components/ConnectionContent.js
+++ b/frontend/src/components/ConnectionContent.js
@@ -1,18 +1,13 @@
import React, {Component} from 'react';
import './ConnectionContent.scss';
-import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
-import {
-
-} from '@fortawesome/free-solid-svg-icons'
-import {useParams} from "react-router-dom";
-import { Dropdown } from 'react-bootstrap';
+import {Dropdown} from 'react-bootstrap';
class ConnectionContent extends Component {
render() {
- let content = this.props.connectionPayload
+ let content = this.props.connectionPayload;
if (content === undefined) {
- return <div>nope</div>
+ return <div>nope</div>;
}
let payload = content.map(c =>
@@ -20,10 +15,7 @@ class ConnectionContent extends Component {
{c.content}
</span>
- )
-
-
-
+ );
return (
<div className="connection-content">