Move capitalize into twenty-shared (#9414)

capitalize had been moved into twenty-shared. Let's remove the
duplicates in server and front !
This commit is contained in:
Marie
2025-01-07 15:25:29 +01:00
committed by GitHub
parent 7b70f7d93b
commit 7d7955fc65
131 changed files with 155 additions and 181 deletions

View File

@ -4,12 +4,12 @@ import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';
import { RUN_WORKFLOW_VERSION } from '@/workflow/graphql/mutations/runWorkflowVersion';
import { useMutation } from '@apollo/client';
import { useTheme } from '@emotion/react';
import { capitalize } from 'twenty-shared';
import { IconSettingsAutomation } from 'twenty-ui';
import {
RunWorkflowVersionMutation,
RunWorkflowVersionMutationVariables,
} from '~/generated/graphql';
import { capitalize } from '~/utils/string/capitalize';
export const useRunWorkflowVersion = () => {
const apolloMetadataClient = useApolloMetadataClient();