mohanadarafe / GuideMe

SOEN 390 | Winter 2020 | Mini Capstone
7 stars 5 forks source link

US5 - As a User, I would like to know which building I'm in + Refactor class components to functional components. #73

Closed mohanadarafe closed 4 years ago

mohanadarafe commented 4 years ago

Changed all the components to functions, add hooks

CurrentBuilding is done, in Map.js, the const currentBuilding = CurrentBuilding(); on line 27 refreshed the current building you are in. If none, it prints "No building" in the console. Currently supports GN, H, EV & JMSB