import { useParams } from 'common' import Link from 'next/link' import { AlertDescription_Shadcn_, AlertTitle_Shadcn_, Alert_Shadcn_, Button } from 'ui' import { AlertCircleIcon } from 'lucide-react' import { useAppStateSnapshot } from 'state/app-state' 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. ) } export default BranchingPostgresVersionNotice