mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 02:56:10 +00:00
294a386d23
React Router lands the URL without the link as a transition. Until it does, every render still read the link, and the tab link took it again on each of them: selectTab is a new function per render and onLinked sets state, so a notification's ?tab= link rendered the planner into React's update limit and the route's error page replaced the trip on an iPad or an unfolded foldable. Both link hooks now take a link once per URL and wait for the cleaned one; the same link in a new URL is taken again.