Skip to content

Commit 922fb3d

Browse files
feat: Removed the Redundant field description
1 parent 9597583 commit 922fb3d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

apps/web/components/imports/forms/UpdateImportForm.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import { useFocusTrap } from '@mantine/hooks';
55

66
import { Button } from '@ui/button';
77
import { ITemplate, TemplateModeEnum } from '@impler/shared';
8-
import { TooltipLabel } from '@components/guide-point';
9-
import { DOCUMENTATION_REFERENCE_LINKS, SAMPLE_DATE_FORMATS, VARIABLES } from '@config';
8+
import { SAMPLE_DATE_FORMATS, VARIABLES } from '@config';
109
import { MultiSelect } from '@ui/multi-select';
1110
import { validateDateFormatString } from '@shared/utils';
1211

@@ -76,10 +75,6 @@ export function UpdateImportForm({ onSubmit, data, isAutoImportAvailable }: Upda
7675
</Box>
7776

7877
<Box>
79-
<TooltipLabel label="Expected Date Formats" link={DOCUMENTATION_REFERENCE_LINKS?.defaultValue ?? '#'} />
80-
<Text size="xs" color="dimmed" mb="xs">
81-
Define the date format you expect in your import data.
82-
</Text>
8378
<Controller
8479
name="expectedDateFormat"
8580
control={control}
@@ -103,7 +98,7 @@ export function UpdateImportForm({ onSubmit, data, isAutoImportAvailable }: Upda
10398
searchable
10499
label="Date Formats"
105100
placeholder="Date Formats"
106-
description="Accepted date input formats for this field"
101+
description="Define the date format you expect in your import data."
107102
data={[
108103
...SAMPLE_DATE_FORMATS,
109104
...(field.value && !SAMPLE_DATE_FORMATS.includes(field.value) ? [field.value] : []),

0 commit comments

Comments
 (0)