From 54943cb47c2ecd3e6c2776267067f38454b798ae Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Fri, 1 Mar 2024 16:09:10 -0700 Subject: [PATCH] use const --- .../workspace/categories/WorkspaceCategoriesPage.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx b/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx index 68920761ccde..cdca609a58cd 100644 --- a/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx +++ b/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx @@ -111,6 +111,8 @@ function WorkspaceCategoriesPage({policyCategories, route}: WorkspaceCategoriesP Navigation.navigate(ROUTES.WORKSPACE_CATEGORY_SETTINGS.getRoute(route.params.policyID, category.text)); }; + const isLoading = !isOffline && policyCategories === undefined; + const settingsButton = (