The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Move space trimming to the save function
Terry Suttond5b411bec015
diff --git a/studio/components/interfaces/Database/Hooks/CreateHook/ServiceConfigForm/InputServiceUrl.tsx b/studio/components/interfaces/Database/Hooks/CreateHook/ServiceConfigForm/InputServiceUrl.tsxindex d7cc063b473..f65aaa19efe 100644--- a/studio/components/interfaces/Database/Hooks/CreateHook/ServiceConfigForm/InputServiceUrl.tsx+++ b/studio/components/interfaces/Database/Hooks/CreateHook/ServiceConfigForm/InputServiceUrl.tsx@@ -17,7 +17,7 @@ const InputServiceUrl: FC = observer(({}) => {onChange={(e) =>_localState.onFormChange({key: 'serviceUrl',- value: e.target.value.replaceAll(' ', ''),+ value: e.target.value,})}size="medium"diff --git a/studio/components/interfaces/Database/Hooks/CreateHook/index.tsx b/studio/components/interfaces/Database/Hooks/CreateHook/index.tsxindex 97642c13405..2057c9207f3 100644--- a/studio/components/interfaces/Database/Hooks/CreateHook/index.tsx+++ b/studio/components/interfaces/Database/Hooks/CreateHook/index.tsx@@ -61,7 +61,7 @@ class CreateHookFormState {enabled_mode: this.enabledMode.value,events: this.events.value,function_args: [- this.serviceUrl.value,+ this.serviceUrl.value.replaceAll(' ', ''),this.serviceMethod.value,JSON.stringify(mapValues(keyBy(this.serviceHeaders.value, 'name'), 'value')),formatArguments(this.serviceParams.value),