Skip to content

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

Update a couple more wordings for database webhooks

Joshen Lim28362534c581
diff --git a/studio/components/interfaces/Database/Hooks/CreateHook/index.tsx b/studio/components/interfaces/Database/Hooks/CreateHook/index.tsx
index 7d6047c67e3..1821fdaa2d7 100644
--- a/studio/components/interfaces/Database/Hooks/CreateHook/index.tsx
+++ b/studio/components/interfaces/Database/Hooks/CreateHook/index.tsx
@@ -157,8 +157,8 @@ class CreateHookStore implements ICreateHookStore {
get title() {
return this.formState.id
- ? `Edit '${this.formState.originalName}' function hook`
- : 'Add a new function hook'
+ ? `Edit '${this.formState.originalName}' database webhook`
+ : 'Add a new database webhook'
}
get isEditing() {
diff --git a/studio/pages/project/[ref]/database/hooks/index.tsx b/studio/pages/project/[ref]/database/hooks/index.tsx
index ad827c89d08..40057900ed7 100644
--- a/studio/pages/project/[ref]/database/hooks/index.tsx
+++ b/studio/pages/project/[ref]/database/hooks/index.tsx
@@ -170,13 +170,13 @@ const TriggersList: FC<any> = observer(
{hooks.length == 0 ? (
<div className="flex h-full w-full items-center justify-center">
<ProductEmptyState
- title="Function Hooks"
- ctaButtonLabel="Create Function Hook"
+ title="Database Webhooks"
+ ctaButtonLabel="Create Database Webhook"
onClickCta={() => createHook()}
>
<AlphaPreview />
<p className="text-scale-1100 text-sm">
- Function Hooks can be used to trigger serverless functions or send requests to an
+ Database Webhooks can be used to trigger serverless functions or send requests to an
HTTP endpoint.
</p>
</ProductEmptyState>