aboutsummaryrefslogtreecommitdiff
path: root/react-frontend/src/components/HubList.js
diff options
context:
space:
mode:
authorJulia McCauley <skurvyj@gmail.com>2021-04-18 23:23:34 -0400
committerJulia McCauley <skurvyj@gmail.com>2021-04-18 23:23:34 -0400
commit0466db8b9051cb6300f274f0bba480d1020c63cf (patch)
treef57fe574c9ab91ce1b746b773f5aa1e6374958a4 /react-frontend/src/components/HubList.js
parent8019e169643d2d988e994470cdd814dca83ecb28 (diff)
cleaned up graph visualization, added colors, score based node scaling
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 0df3020..c9a5156 100644
--- a/react-frontend/src/components/HubList.js
+++ b/react-frontend/src/components/HubList.js
@@ -32,7 +32,7 @@ function HubList(props) {
const getName = () => {
props.data.forEach(hub => {
- if (hub.id == props.selected) {
+ if (hub.id === props.selected) {
setName(hub.name);
}
})