diff options
author | 9308233900 <reagan_hunt@brown.edu> | 2021-04-17 00:12:57 -0700 |
---|---|---|
committer | 9308233900 <reagan_hunt@brown.edu> | 2021-04-17 00:12:57 -0700 |
commit | fc88d4d950e4cfad96102267d1ec7c0042ed78f2 (patch) | |
tree | 48358d0c78936358b5b69f08194ca703999c3de8 /react-frontend/src/components/HubList.js | |
parent | a7f1433da5ddf11845251a062da96bc42c631f50 (diff) |
orientation completed
Diffstat (limited to 'react-frontend/src/components/HubList.js')
-rw-r--r-- | react-frontend/src/components/HubList.js | 1 |
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]); |