import { useParams } from 'common' import { AlertCircleIcon } from 'lucide-react' import Link from 'next/link' import { Alert, AlertDescription, AlertTitle, Button } from 'ui' import { useAppStateSnapshot } from '@/state/app-state' export const BranchingPostgresVersionNotice = () => { const { ref } = useParams() const snap = useAppStateSnapshot() return ( Your project needs to be on Postgres 15 to enable branching Head over to your project's infrastructure settings to upgrade to the latest version of Postgres before enabling branching. ) }