diff options
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 |
