React UI: Make link to classic UI work (#6320)

It being a Reach Router <Link> caused the Reach router to not actually
leave the React app, even though the destination path was not a path
handled by the Reach Router.

Signed-off-by: Julius Volz <julius.volz@gmail.com>
pull/6323/head
Julius Volz 5 years ago committed by GitHub
parent 8ee3b8c848
commit 2a6df53416
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -67,9 +67,7 @@ const Navigation: FC<PathPrefixProps> = ({ pathPrefix }) => {
<NavLink href="https://prometheus.io/docs/prometheus/latest/getting_started/">Help</NavLink> <NavLink href="https://prometheus.io/docs/prometheus/latest/getting_started/">Help</NavLink>
</NavItem> </NavItem>
<NavItem> <NavItem>
<NavLink tag={Link} to={pathPrefix}> <NavLink href={`${pathPrefix}/`}>Classic UI</NavLink>
Classic UI
</NavLink>
</NavItem> </NavItem>
</Nav> </Nav>
</Collapse> </Collapse>

Loading…
Cancel
Save