The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Remove mistakenly added files (#13514)
Félix Malfait463e2e89c834
diff --git a/src/modules/ui/input/components/internal/date/DaySelect.tsx b/src/modules/ui/input/components/internal/date/DaySelect.tsxdeleted file mode 100644index 44cadd527c3..00000000000--- a/src/modules/ui/input/components/internal/date/DaySelect.tsx+++ /dev/null@@ -1,42 +0,0 @@-import { useMemo } from 'react';--import { SELECT_DAY_DROPDOWN_ID } from '@/ui/input/components/internal/date/constants/SelectDayDropdownId';-import { DayNameWithIndex } from '@/ui/input/components/internal/date/types/DayNameWithIndex';-import { Select } from '@/ui/input/components/Select';-import { SelectOption } from 'twenty-ui/input';--export const DaySelect = ({- label,- selectedDayIndex,- onChange,- dayList,-}: {- label: string;- selectedDayIndex: number;- onChange: (dayIndex: number | string) => void;- dayList: DayNameWithIndex[];-}) => {- const options: SelectOption<string | number>[] = useMemo(() => {- const days = dayList?.map<SelectOption<string | number>>(- ({ day, index }) => ({- label: day,- value: index,- }),- );-- return days;- }, [dayList]);-- return (- <Select- fullWidth- dropdownId={SELECT_DAY_DROPDOWN_ID}- options={options}- label={label}- onChange={onChange}- value={selectedDayIndex}- dropdownWidth={218}- dropdownWidthAuto- />- );-};\ No newline at end of filediff --git a/src/modules/ui/input/components/internal/date/constants/SelectDayDropdownId.ts b/src/modules/ui/input/components/internal/date/constants/SelectDayDropdownId.tsdeleted file mode 100644index d114488b110..00000000000--- a/src/modules/ui/input/components/internal/date/constants/SelectDayDropdownId.ts+++ /dev/null@@ -1 +0,0 @@-export const SELECT_DAY_DROPDOWN_ID = 'select-day-dropdown-Id';\ No newline at end of filediff --git a/src/modules/ui/input/components/internal/date/types/DayNameWithIndex.ts b/src/modules/ui/input/components/internal/date/types/DayNameWithIndex.tsdeleted file mode 100644index 55fa1ae58dc..00000000000--- a/src/modules/ui/input/components/internal/date/types/DayNameWithIndex.ts+++ /dev/null@@ -1,4 +0,0 @@-export type DayNameWithIndex = {- day: string;- index: number;-};\ No newline at end of file