From 6a889f1fc78a99c35b75503e7f4409860673b4bc Mon Sep 17 00:00:00 2001 From: Wojciech Boman Date: Thu, 1 Feb 2024 17:31:23 +0100 Subject: [PATCH] Refactor WorkspaceSwitcherPage --- src/pages/WorkspaceSwitcherPage.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/WorkspaceSwitcherPage.tsx b/src/pages/WorkspaceSwitcherPage.tsx index 47e99061be8c..978bbcc1583a 100644 --- a/src/pages/WorkspaceSwitcherPage.tsx +++ b/src/pages/WorkspaceSwitcherPage.tsx @@ -60,6 +60,7 @@ function WorkspaceSwitcherPage({policies}: WorkspaceSwitcherPageProps) { const {inputCallbackRef} = useAutoFocusInput(); const {translate} = useLocalize(); const {activeWorkspaceID, setActiveWorkspaceID} = useActiveWorkspace(); + const brickRoadsForPolicies = useMemo(() => getWorkspacesBrickRoads(), []); const unreadStatusesForPolicies = useMemo(() => getWorkspacesUnreadStatuses(), []);