aboutsummaryrefslogtreecommitdiff
path: root/react-frontend/src/components/HubList.js
diff options
context:
space:
mode:
Diffstat (limited to 'react-frontend/src/components/HubList.js')
-rw-r--r--react-frontend/src/components/HubList.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/react-frontend/src/components/HubList.js b/react-frontend/src/components/HubList.js
index aab7c23..8e00d0f 100644
--- a/react-frontend/src/components/HubList.js
+++ b/react-frontend/src/components/HubList.js
@@ -20,7 +20,7 @@ function HubList(props) {
// sort and create the elemnts
let hubs = [];
//const sorted = props.data.sort((a, b) => b.suspicionScore - a.suspicionScore);
- props.data.forEach((hub) =>
+ props.data.forEach(hub =>
hubs.push(
<Hub
key={hub.id}