Skip to content

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

Fix

Joshen Limd5844e3f31e3
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/JsonEditor.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/JsonEditor.tsx
index a04af898d26..ba3e10903d2 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/JsonEditor.tsx
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/JsonEditor.tsx
@@ -14,7 +14,7 @@ interface JsonEditProps {
visible: boolean
backButtonLabel?: string
applyButtonLabel?: string
- readOnly: boolean
+ readOnly?: boolean
closePanel: () => void
onSaveJSON: (value: string | number) => void
}
@@ -25,7 +25,7 @@ const JsonEdit = ({
visible,
backButtonLabel,
applyButtonLabel,
- readOnly,
+ readOnly = false,
closePanel,
onSaveJSON,
}: JsonEditProps) => {