From beb1f1c28adc9872b179a2169e4f8d34adf125c7 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 11 Feb 2024 09:50:32 +0530 Subject: minor refactoring to remove duplication with a constant --- src/features/workspaces/components/WorkspaceSwitchingIndicator.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/features') diff --git a/src/features/workspaces/components/WorkspaceSwitchingIndicator.tsx b/src/features/workspaces/components/WorkspaceSwitchingIndicator.tsx index 0fce811e5..19dd9037d 100644 --- a/src/features/workspaces/components/WorkspaceSwitchingIndicator.tsx +++ b/src/features/workspaces/components/WorkspaceSwitchingIndicator.tsx @@ -5,6 +5,7 @@ import classnames from 'classnames'; import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; import Loader from '../../../components/ui/loader'; import { workspaceStore } from '../index'; +import { DEFAULT_LOADER_COLOR } from '../../../config'; const messages = defineMessages({ switchingTo: { @@ -70,7 +71,7 @@ class WorkspaceSwitchingIndicator extends Component { return (
- +

{`${intl.formatMessage(messages.switchingTo)} ${nextWorkspaceName}`}

-- cgit v1.2.3-54-g00ecf