Repository navigation
Commit 75cfeac
baudbot-agent
fix: share button generates correct deep link URLs
The createDeepLink function was missing the base route prefix
(package-managers, task-runners, registries), producing broken URLs
like /#/average/per-package-install-time-by-fixture/next instead of
/#/package-managers/average/per-package-install-time-by-fixture/next.
Now uses useLocation to extract the current base route and prepend
it to the generated deep link path.
Also removed unused filters parameter from createDeepLink.1 parent 47a6ee1 commit 75cfeac
1 file changed
Lines changed: 7 additions & 20 deletions
File tree
- app/src/components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 25 | | |
28 | | - | |
| 26 | + | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
33 | 31 | | |
34 | 32 | | |
35 | 33 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | 34 | | |
51 | 35 | | |
52 | 36 | | |
| |||
67 | 51 | | |
68 | 52 | | |
69 | 53 | | |
| 54 | + | |
70 | 55 | | |
71 | 56 | | |
72 | 57 | | |
73 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
74 | 61 | | |
75 | 62 | | |
76 | 63 | | |
| |||
0 commit comments