fablabbcn / smartcitizen-web

The Smart Citizen Kit platform
https://smartcitizen.me
GNU Affero General Public License v3.0
13 stars 7 forks source link

Bugfix/map state loading #456

Closed oscgonfer closed 4 months ago

oscgonfer commented 5 months ago

Minor fix on the map state variables.

This fixes the case in which a user visits the map, goes to their profile page, and then comes back to the map by hitting the "BACK" button. In that case, there is no update on the state variables for the map, rendering it unresponsive.

This PR fixes this issue.

oscgonfer commented 5 months ago

Just realised that this is rebased on top of the other PR. We can merge both for the refurbish

oscgonfer commented 4 months ago

Part of #457