diff --git a/apps/trust/src/components/RootErrorBoundary.tsx b/apps/trust/src/components/RootErrorBoundary.tsx index dcca8aacc..8b865ca3a 100644 --- a/apps/trust/src/components/RootErrorBoundary.tsx +++ b/apps/trust/src/components/RootErrorBoundary.tsx @@ -11,7 +11,7 @@ export function RootErrorBoundary() { const search = new URLSearchParams(); - if (location.pathname !== `${getPathPrefix()}/` || location.search !== "") { + if (location.pathname !== (getPathPrefix() || "/") || location.search !== "") { search.set("continue", window.location.href); }