diff options
| author | Michael Foiani <sotech117@michaels-mbp-3.lan> | 2021-04-16 16:32:02 -0400 |
|---|---|---|
| committer | Michael Foiani <sotech117@michaels-mbp-3.lan> | 2021-04-16 16:32:02 -0400 |
| commit | 3182aec0fa9f1707435f92b0c0644c602125b0be (patch) | |
| tree | afd03fab0ec21cfed2de1a0e2116a241f98bb7a8 /maps-frontend/src/components/HubList.js | |
| parent | 579fa51b8b306fb201c799d33e633e58819463fb (diff) | |
Fixed bugs. Looking pretty good.
Diffstat (limited to 'maps-frontend/src/components/HubList.js')
| -rw-r--r-- | maps-frontend/src/components/HubList.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/maps-frontend/src/components/HubList.js b/maps-frontend/src/components/HubList.js index 3bbcca6..41cf07a 100644 --- a/maps-frontend/src/components/HubList.js +++ b/maps-frontend/src/components/HubList.js @@ -19,6 +19,7 @@ function HubList(props) { const updateHubItems = () => { // sort and create the elemnts let hubs = []; + console.log(props.data); const sorted = props.data.sort((a, b) => b.suspicionScore - a.suspicionScore); console.log(sorted); sorted.forEach(hub => hubs.push( @@ -34,11 +35,11 @@ function HubList(props) { return ( <div className="User-checkin"> <div className="Checkins"> - <h2>Individual Suspicion</h2> + <h2>Suspicion Ranks</h2> <ul className='Checkin-list'>{hubItems}</ul> </div> </div> ); } -export default HubList
\ No newline at end of file +export default HubList;
\ No newline at end of file |
