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

@ -10,8 +10,8 @@ import { useFindManyRecords } from '@/object-record/hooks/useFindManyRecords';
import { ObjectFieldRow } from '@/settings/data-model/graph-overview/components/SettingsDataModelOverviewField';
import { SettingsDataModelObjectTypeTag } from '@/settings/data-model/objects/components/SettingsDataModelObjectTypeTag';
import { getObjectTypeLabel } from '@/settings/data-model/utils/getObjectTypeLabel';
import { capitalize } from 'twenty-shared';
import { FieldMetadataType } from '~/generated/graphql';
import { capitalize } from '~/utils/string/capitalize';
import { ObjectFieldRowWithoutRelation } from '@/settings/data-model/graph-overview/components/SettingsDataModelOverviewFieldWithoutRelation';
import '@xyflow/react/dist/style.css';