Alessandro100 / concordia-campus-guide

React project that allows navigation of concordia campuses
GNU General Public License v3.0
1 stars 0 forks source link

Building information does not update as a props #180

Open razine-bensari opened 4 years ago

razine-bensari commented 4 years ago

Describe the bug When pressing on building, then on building directions it opens a view. But when you press again on another building and then again on the button directions of that new building, the info displayed is the wrong one. The view is not updated

To Reproduce Steps to reproduce the behavior:

  1. Click on building in mapview
  2. click on directions button
  3. Try to select another building
  4. click on directions

Expected behavior Update the view when clicking to a new building

Smartphone (please complete the following information):