From 4bfe4ca230879606f6505fecb49c3feec061c577 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 3 Feb 2025 12:41:06 +0100 Subject: [PATCH] :bug: Fix incorrect error handling on legacy workspace redirect --- frontend/src/app/main/ui.cljs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/main/ui.cljs b/frontend/src/app/main/ui.cljs index a7cbde8f0a..bf6b1ebaa9 100644 --- a/frontend/src/app/main/ui.cljs +++ b/frontend/src/app/main/ui.cljs @@ -10,6 +10,7 @@ [app.config :as cf] [app.main.data.common :as dcm] [app.main.data.team :as dtm] + [app.main.errors :as errors] [app.main.refs :as refs] [app.main.repo :as rp] [app.main.router :as rt] @@ -29,7 +30,6 @@ [app.util.dom :as dom] [app.util.i18n :refer [tr]] [beicon.v2.core :as rx] - [potok.v2.core :as ptk] [rumext.v2 :as mf])) (def auth-page @@ -61,8 +61,7 @@ :file-id file-id :page-id page-id :layout layout))) - ptk/handle-error))) - + errors/on-error))) [:> loader* {:title (tr "labels.loading") :overlay true}])