aboutsummaryrefslogtreecommitdiff
path: root/react-frontend/src/components/HubList.js
diff options
context:
space:
mode:
authorMichael Foiani <sotech117@michaels-mbp-3.lan>2021-04-20 03:37:05 -0400
committerMichael Foiani <sotech117@michaels-mbp-3.lan>2021-04-20 03:37:05 -0400
commit629c77c110042d5160f5218bee54f76b81c4dad2 (patch)
tree18c51cceb23c38cbbedf27156a88bb7f9ca88395 /react-frontend/src/components/HubList.js
parenta27719a709dd3082850f00f25e1275233807209d (diff)
Multiple state changes and efficiency fixes.
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}