diff options
author | Michael Foiani <sotech117@michaels-mbp-3.lan> | 2021-04-20 00:20:59 -0400 |
---|---|---|
committer | Michael Foiani <sotech117@michaels-mbp-3.lan> | 2021-04-20 00:20:59 -0400 |
commit | 56532c3d09b162390602af0f94c78ade0d6181e2 (patch) | |
tree | c2af5d8ee92dda73624fc1fed4506c119e953afc /react-frontend/src/components/HubList.js | |
parent | 2004a6c76be21d37367624a4ed7c00825e969143 (diff) | |
parent | 87fe6542c4c39a8b79f8b86a2b965e19d4b674c3 (diff) |
Logic of modal in app.js. Watchdogs component created.
Diffstat (limited to 'react-frontend/src/components/HubList.js')
-rw-r--r-- | react-frontend/src/components/HubList.js | 2 |
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); } }) |