mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-12 23:31:02 +00:00
322d5d5209
The mock called the real useIsPhone only while a test left the answer open, so a map still mounted when the answer was reset rendered with one hook more and React threw. It now calls the real hook every time and overrides only its answer.