diff --git a/packages/twenty-front/src/modules/command-menu-item/utils/getCommandMenuItemLabel.ts b/packages/twenty-front/src/modules/command-menu-item/utils/getCommandMenuItemLabel.ts index 8885a62ae2..b432217c4f 100644 --- a/packages/twenty-front/src/modules/command-menu-item/utils/getCommandMenuItemLabel.ts +++ b/packages/twenty-front/src/modules/command-menu-item/utils/getCommandMenuItemLabel.ts @@ -1,5 +1,4 @@ import { i18n, type MessageDescriptor } from '@lingui/core'; -import { isString } from '@sniptt/guards'; import { type Nullable } from 'twenty-shared/types'; import { isDefined } from 'twenty-shared/utils'; @@ -10,5 +9,5 @@ export const getCommandMenuItemLabel = ( return ''; } - return isString(label) ? label : i18n._(label); + return i18n._(label); };