Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Remove console logs

Terry Sutton6ea4bd4a6446
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/DateTimeInput.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/DateTimeInput.tsx
index f7c0f916c28..0461c1abbf8 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/DateTimeInput.tsx
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/DateTimeInput.tsx
@@ -20,7 +20,6 @@ const DateTimeInput: FC<Props> = ({ value, onChange, name, format, description }
const inputType = getColumnType(format)
function handleOnChange(e: any) {
- console.log('the actual value is right', e.target.value)
const temp = e.target.value
if (temp.length === 0 && temp !== '') return
onChange(temp)
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.tsx
index d5a0867c80b..b9e67db5b15 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.tsx
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.tsx
@@ -62,7 +62,6 @@ const SidePanelEditor: FC<Props> = ({
configuration: { identifiers: any; rowIdx: number },
onComplete: Function
) => {
- console.log({ payload })
let saveRowError = false
if (isNewRecord) {
const insertQuery = new Query()
@@ -81,7 +80,6 @@ const SidePanelEditor: FC<Props> = ({
const hasChanges = !isEmpty(payload)
if (hasChanges) {
if (selectedTable!.primary_keys.length > 0) {
- console.log('and it is also right in the payload here', { payload })
// seems like here is where the data is being updated
const updateQuery = new Query()
.from(selectedTable!.name, selectedTable!.schema)