Skip to content

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

fix: sql create from template

Alaister Young2bbf9bf49ca3
diff --git a/studio/components/to-be-cleaned/SqlEditor/TabWelcome.js b/studio/components/to-be-cleaned/SqlEditor/TabWelcome.js
index dbdf030e296..2d36ad2ec4b 100644
--- a/studio/components/to-be-cleaned/SqlEditor/TabWelcome.js
+++ b/studio/components/to-be-cleaned/SqlEditor/TabWelcome.js
@@ -62,7 +62,7 @@ const TabWelcome = observer(() => {
description={x.description}
sql={x.sql}
onClick={(sql, title) => {
- handleNewQuery(sql, title)
+ handleNewQuery({ sql, name: title })
Telemetry.sendEvent('quickstart', 'quickstart_clicked', x.title)
}}
/>