aboutsummaryrefslogtreecommitdiff
path: root/react-frontend/src/components/HubList.js
diff options
context:
space:
mode:
authorJulia McCauley <skurvyj@gmail.com>2021-04-17 14:03:33 -0400
committerJulia McCauley <skurvyj@gmail.com>2021-04-17 14:03:33 -0400
commit6d6e00d739c532a5cddb5344b261a9681bc9da0b (patch)
tree4ef8fe66e5971e33489ccc7e974982c6917a4b92 /react-frontend/src/components/HubList.js
parentfa4feff17c9e15b86388fd5ee1ac6771ff4d5148 (diff)
parentcdcf7602c5fd2066f69fdbe64562e2faca915422 (diff)
pulling latest version Mgerge branch 'master' of github.com:cs0320-2021/term-project-cohwille-jmccaul3-mfoiani-rhunt2
Diffstat (limited to 'react-frontend/src/components/HubList.js')
-rw-r--r--react-frontend/src/components/HubList.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/react-frontend/src/components/HubList.js b/react-frontend/src/components/HubList.js
index f5b1414..5736e89 100644
--- a/react-frontend/src/components/HubList.js
+++ b/react-frontend/src/components/HubList.js
@@ -39,6 +39,7 @@ function HubList(props) {
setName('');
}
+
// React hook that updates when the hubs are recalculated
useEffect(() => updateHubItems(), [props.data]);