From 48011279a982a425227e062ef7b72c231bf94d7f Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Sun, 6 Jul 2025 13:54:15 +0800 Subject: [PATCH] fix: lint --- src/main/mobile/components/ui.cljs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/main/mobile/components/ui.cljs b/src/main/mobile/components/ui.cljs index 8aa7a0e599..83686fc25a 100644 --- a/src/main/mobile/components/ui.cljs +++ b/src/main/mobile/components/ui.cljs @@ -1,13 +1,12 @@ (ns mobile.components.ui "Mobile ui" - (:require [mobile.ionic :as ion] - [mobile.state :as mobile-state] - [cljs-bean.core :as bean] + (:require [cljs-bean.core :as bean] [frontend.handler.notification :as notification] [frontend.rum :as r] [frontend.state :as state] - [frontend.ui :as ui] [medley.core :as medley] + [mobile.ionic :as ion] + [mobile.state :as mobile-state] [react-transition-group :refer [CSSTransition TransitionGroup]] [rum.core :as rum])) @@ -197,7 +196,3 @@ props' (assoc props :close! close!)]] (x-modal props' (if (fn? content) (content props') content)))])) - -(rum/defc loading - ([] (loading "")) - ([content] [:span.opacity-50 (ui/loading content)]))