Fix condition

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-03-13 14:27:15 +04:00
parent 3bc9ea6fb6
commit 0fe494bb73

View File

@@ -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);
}