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(), []);