Skip to content

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

www(chore): remove State of Startups flag (#43423)

Danny White18bee64d98c0
diff --git a/apps/www/pages/state-of-startups.tsx b/apps/www/pages/state-of-startups.tsx
index e96aef08b38..3c6b5ac6aa3 100644
--- a/apps/www/pages/state-of-startups.tsx
+++ b/apps/www/pages/state-of-startups.tsx
@@ -5,18 +5,13 @@ import { SurveyChapterSection } from '~/components/SurveyResults/SurveyChapterSe
import { SurveySectionBreak } from '~/components/SurveyResults/SurveySectionBreak'
import pageData from '~/data/surveys/state-of-startups-2025'
import { useSendTelemetryEvent } from '~/lib/telemetry'
-import { useFlag } from 'common'
import { motion } from 'framer-motion'
import { NextSeo } from 'next-seo'
import Link from 'next/link'
-import { useRouter } from 'next/router'
import { forwardRef, useEffect, useRef, useState } from 'react'
import { Button, cn } from 'ui'
function StateOfStartupsPage() {
- const router = useRouter()
- const isPageEnabled = useFlag('stateOfStartups')
-
const meta_title = pageData.metaTitle || 'State of Startups 2025 | Supabase'
const meta_description =
pageData.metaDescription ||
@@ -29,10 +24,6 @@ function StateOfStartupsPage() {
const heroRef = useRef<HTMLDivElement>(null)
const ctaBannerRef = useRef<HTMLElement>(null)
- useEffect(() => {
- if (isPageEnabled !== undefined && !isPageEnabled) router.push('/')
- }, [isPageEnabled, router])
-
// Scroll detection to show floating ToC
useEffect(() => {
const handleScroll = () => {
@@ -178,8 +169,6 @@ function StateOfStartupsPage() {
)
}
- if (!isPageEnabled) return null
-
return (
<>
<NextSeo