diff options
author | Michael Foiani <sotech117@michaels-mbp-3.lan> | 2021-04-12 14:07:52 -0400 |
---|---|---|
committer | Michael Foiani <sotech117@michaels-mbp-3.lan> | 2021-04-12 14:07:52 -0400 |
commit | 939f748b5f0914fe1558d571fdf13962c46b4537 (patch) | |
tree | e521351e96fe4ae2ead59a322aee7e799ebbb241 /frontend/src/Hub.js | |
parent | 77bbe0152f3298feff837136b12c7049c39f49c6 (diff) |
Some quick frontend fixes to show results in a simple way.
Diffstat (limited to 'frontend/src/Hub.js')
-rw-r--r-- | frontend/src/Hub.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/Hub.js b/frontend/src/Hub.js index 982ffee..6dbcc57 100644 --- a/frontend/src/Hub.js +++ b/frontend/src/Hub.js @@ -11,7 +11,7 @@ function Hub(props) { const [isToggled, setIsToggled] = useState(false); return ( - <li className='Checkin'> + <li className='Checkin' key={props.name}> <div className="Img-flex"> <span><span className="Clickable-name" onClick= {(e) => console.log(props.name)}>{props.name}</span> has {props.value}</span> <img className="Img-btn" hidden={isToggled} onClick={() => setIsToggled((toggle) => !toggle)} src="/round_expand_more_white_18dp.png" alt="image"/> |