Rename error

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-02-10 11:34:00 +04:00
parent c79feb44dc
commit 583148eb5f
7 changed files with 25 additions and 25 deletions

View File

@@ -1,7 +1,7 @@
import { Role } from "@probo/helpers";
import { lazy } from "@probo/react-lazy";
import {
NotAssumingError,
AssumptionRequiredError,
UnAuthenticatedError,
} from "@probo/relay";
import { type AppRoute, routeFromAppRoute } from "@probo/routes";
@@ -48,7 +48,7 @@ function ErrorBoundary() {
return <Navigate to="/auth/login" />;
}
if (error instanceof NotAssumingError) {
if (error instanceof AssumptionRequiredError) {
// TODO redirect to right URL
return <Navigate to="/" />;
}