Commit 05718f8
committed
Fix elevation profile not updating when route changes
The height graph data was only fetched when the drawer was
expanded/collapsed. Added a useEffect to automatically fetch
height data whenever direction results change.1 parent 7fb8a80 commit 05718f8
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
350 | 354 | | |
351 | 355 | | |
352 | 356 | | |
| |||
0 commit comments