On home screen, click on a site. (Might need to wait for soil id to load, haven't confirmed this)
Go back to home screen
Click on a location on the map. (Also may need to wait for soil id)
Go back to home screen
Click on a site
Expected:
I can view and navigate the site as normal
Result:
Weird state where the app is nearly unresponsive, with the exception of swiping to interact with the site tabs bar.
Console log says: ERROR Warning: Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.
Repro
Not sure this are the minimum repro steps, but:
https://github.com/techmatters/terraso-mobile-client/assets/5590815/a358781f-93ac-4041-bdd1-b212239cc39b