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

@ -11,6 +11,7 @@ import styled from '@emotion/styled';
import { ReactNode } from 'react';
import { Link } from 'react-router-dom';
import { useRecoilState } from 'recoil';
import { capitalize } from 'twenty-shared';
import {
IconComponent,
MOBILE_VIEWPORT,
@ -18,7 +19,6 @@ import {
TablerIconsProps,
} from 'twenty-ui';
import { isDefined } from '~/utils/isDefined';
import { capitalize } from '~/utils/string/capitalize';
const DEFAULT_INDENTATION_LEVEL = 1;