From ecc3800d9f7e38ffa9769c07f5f872be00cb33cc Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Tue, 20 Sep 2022 10:32:43 +0530 Subject: [PATCH] fix(ui) - add metric modal loader --- .../AddPredefinedMetric.tsx | 53 ++++++++++--------- 1 file changed, 27 insertions(+), 26 deletions(-) diff --git a/frontend/app/components/Dashboard/components/DashboardWidgetGrid/AddPredefinedMetric.tsx b/frontend/app/components/Dashboard/components/DashboardWidgetGrid/AddPredefinedMetric.tsx index 4e95a2c6e..57454398c 100644 --- a/frontend/app/components/Dashboard/components/DashboardWidgetGrid/AddPredefinedMetric.tsx +++ b/frontend/app/components/Dashboard/components/DashboardWidgetGrid/AddPredefinedMetric.tsx @@ -83,31 +83,32 @@ function AddPredefinedMetric({ history, siteId, title, description }: IProps) { -
-
-
- {activeCategory && - categories.map((category) => ( - - - - ))} + +
+
+
+ {activeCategory && + categories.map((category) => ( + + + + ))} +
-
- +
))}
-
-
+
+