From 2d9ff657c7f929f7ca894bc0169495804a3526ea Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Tue, 11 Oct 2022 14:40:30 +0800 Subject: [PATCH] Clean up --- .../RowEditor/DateTimeInput/DateTimeInput.tsx | 7 ------- .../SidePanelEditor/RowEditor/InputField.tsx | 1 - 2 files changed, 8 deletions(-) diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/DateTimeInput.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/DateTimeInput.tsx index 83d8a7afe67..26d90bfe784 100644 --- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/DateTimeInput.tsx +++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/DateTimeInput.tsx @@ -38,13 +38,6 @@ const DateTimeInput: FC = ({ value, onChange, name, format, description } )} } - // descriptionText={ - // description && description.length !== 0 - // ? description - // : format.includes('tz') - // ? `Your local timezone will be automatically applied (${dayjs().format('ZZ')})` - // : undefined - // } labelOptional={format} size="small" value={value} diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx index 8d62c177f1c..5c3b2e6fead 100644 --- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx +++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx @@ -166,7 +166,6 @@ const InputField: FC = ({ } if (includes(DATETIME_TYPES, field.format)) { - console.log(field) return (