Skip to content

Commit d9e1320

Browse files
authored
Fix single link (#7475)
## Quick Bug fix missing add single link's route ## Background use component="a" instead of "link" due to it has weird link cache. This does not play good when navigate between benchmarks share same page with router params
1 parent 53696a9 commit d9e1320

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

torchci/components/layout/NavBarGroupDropdown.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ export function NavBarGroupDropdown({
131131
<MenuItem
132132
key={`single-${item.label}`}
133133
component="a"
134+
href={item.route}
134135
sx={{
135136
color: "primary.main",
136137
}}

0 commit comments

Comments
 (0)