diff --git a/apps/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx
index 428d29b3372..269f0183ea0 100644
--- a/apps/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx
+++ b/apps/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx
@@ -36,7 +36,7 @@ const EdgeFunctionsListItem = ({ function: item }: EdgeFunctionsListItemProps) =
{
- router.push(`/project/${ref}/functions/${item.slug}/details`)
+ router.push(`/project/${ref}/functions/${item.slug}`)
}}
>
diff --git a/apps/studio/components/interfaces/Functions/FunctionsNav.tsx b/apps/studio/components/interfaces/Functions/FunctionsNav.tsx
index b558f1520c4..fe37ab1afca 100644
--- a/apps/studio/components/interfaces/Functions/FunctionsNav.tsx
+++ b/apps/studio/components/interfaces/Functions/FunctionsNav.tsx
@@ -12,17 +12,17 @@ const FunctionsNav = ({ item }: any) => {
type="underlined"
size="medium"
baseClassNames="!space-y-0"
- activeId={!activeRoute ? 'metrics' : activeRoute}
+ activeId={!activeRoute ? 'overview' : activeRoute}
onChange={(e: string) => {
if (item?.slug) {
- router.push(`/project/${ref}/functions/${item.slug}/${e === 'metrics' ? '' : e}`)
+ router.push(`/project/${ref}/functions/${item.slug}/${e === 'overview' ? '' : e}`)
}
}}
>
-
-
+
+
)
}
diff --git a/apps/studio/pages/project/[ref]/functions/index.tsx b/apps/studio/pages/project/[ref]/functions/index.tsx
index 9a819b83a6f..684fa07eda2 100644
--- a/apps/studio/pages/project/[ref]/functions/index.tsx
+++ b/apps/studio/pages/project/[ref]/functions/index.tsx
@@ -1,16 +1,5 @@
import { useParams } from 'common'
-import { useState } from 'react'
-import {
- Button,
- Dialog,
- DialogContent,
- DialogFooter,
- DialogHeader,
- DialogSection,
- DialogSectionSeparator,
- DialogTrigger,
- Modal,
-} from 'ui'
+import { Button, Dialog, DialogContent, DialogSection, DialogTrigger } from 'ui'
import {
EdgeFunctionsListItem,
@@ -26,7 +15,6 @@ import type { NextPageWithLayout } from 'types'
const PageLayout: NextPageWithLayout = () => {
const { ref } = useParams()
- const [showTerminalInstructions, setShowTerminalInstructions] = useState(false)
const {
data: functions,
@@ -55,9 +43,7 @@ const PageLayout: NextPageWithLayout = () => {
} deployed`}