Skip to content

Commit

Permalink
fix(hub): failed request to rivet.gg/changelog.json causes error that…
Browse files Browse the repository at this point in the history
… blocks usage of hub
  • Loading branch information
jog1t committed Dec 29, 2024
1 parent f3de0a8 commit dea3ef1
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion frontend/apps/hub/src/components/header/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
cn,
} from "@rivet-gg/components";
import { Icon, faBars } from "@rivet-gg/icons";
import { ErrorBoundary } from "@sentry/react";
import { Link } from "@tanstack/react-router";
import { Breadcrumbs } from "../breadcrumbs/breadcrumbs";
import { MobileBreadcrumbs } from "../breadcrumbs/mobile-breadcrumbs";
Expand Down Expand Up @@ -153,7 +154,24 @@ export function Header({ variant = "opaque" }: HeaderProps) {
Feedback
</Link>
</NavItem>
<Changelog />
<ErrorBoundary
fallback={
<NavItem
asChild
className="hidden md:inline-block"
>
<a
href="https://rivet.gg/changelog"
target="_blank"
rel="noreferrer"
>
Changelog
</a>
</NavItem>
}
>
<Changelog />
</ErrorBoundary>
<NavItem asChild className="hidden md:inline-block">
<a
href="https://rivet.gg/support"
Expand Down

0 comments on commit dea3ef1

Please sign in to comment.