Skip to content

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

removes sql templates page

Alaister Young4e3781e9d135
diff --git a/studio/next.config.js b/studio/next.config.js
index aacd624684b..4a757bbed91 100644
--- a/studio/next.config.js
+++ b/studio/next.config.js
@@ -127,6 +127,11 @@ const nextConfig = {
destination: '/project/:ref/logs/explorer',
permanent: true,
},
+ {
+ source: '/project/:ref/sql/templates',
+ destination: '/project/:ref/sql',
+ permanent: true,
+ },
{
source: '/org/:slug/settings',
destination: '/org/:slug/general',
diff --git a/studio/pages/project/[ref]/sql/templates.tsx b/studio/pages/project/[ref]/sql/templates.tsx
deleted file mode 100644
index a632a4c1ba8..00000000000
--- a/studio/pages/project/[ref]/sql/templates.tsx
+++ /dev/null
@@ -1,16 +0,0 @@
-import { NextPage } from 'next'
-import { observer } from 'mobx-react-lite'
-
-import { withAuth } from 'hooks'
-import { SQLEditorLayout } from 'components/layouts'
-import { SQLTemplates } from 'components/interfaces/SQLEditor'
-
-const SqlTemplates: NextPage = () => {
- return (
- <SQLEditorLayout title="SQL">
- <SQLTemplates />
- </SQLEditorLayout>
- )
-}
-
-export default withAuth(observer(SqlTemplates))