diff --git a/studio/components/interfaces/Functions/FunctionsLayout.tsx b/studio/components/interfaces/Functions/FunctionsLayout.tsx
index 3614be8ea50..fb84c92b03c 100644
--- a/studio/components/interfaces/Functions/FunctionsLayout.tsx
+++ b/studio/components/interfaces/Functions/FunctionsLayout.tsx
@@ -2,7 +2,7 @@ import Link from 'next/link'
import { useRouter } from 'next/router'
import React, { useEffect } from 'react'
import { observer } from 'mobx-react-lite'
-import { IconCode, Loading } from '@supabase/ui'
+import { IconCode } from '@supabase/ui'
import { useStore, withAuth } from 'hooks'
import FunctionsNav from './FunctionsNav'
@@ -20,14 +20,6 @@ const FunctionsLayout = ({ children }: { children?: React.ReactNode }) => {
}
}, [ui.selectedProjectRef])
- if (!functions.isLoaded) {
- return (
-
- {''}
-
- )
- }
-
const item = id ? functions.byId(id) : null
const name = item?.name || ''
@@ -35,7 +27,7 @@ const FunctionsLayout = ({ children }: { children?: React.ReactNode }) => {
const centered = !hasFunctions
return (
-
+
{centered ? (
<>