From 0fe494bb73f491a38148358714877c6d595d63ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Fri, 13 Mar 2026 14:27:15 +0400 Subject: [PATCH] Fix condition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Émile Ré --- apps/trust/src/components/RootErrorBoundary.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }