import { useParams } from 'common' import { useRouter } from 'next/router' import { PropsWithChildren } from 'react' import { ProjectLayout } from '../ProjectLayout' import { generateBranchMenu } from './BranchLayout.utils' import { GitHubStatus } from '@/components/interfaces/Settings/Integrations/GithubIntegration/GitHubStatus' import { ProductMenu } from '@/components/ui/ProductMenu' import { withAuth } from '@/hooks/misc/withAuth' const BranchProductMenu = () => { const router = useRouter() const { ref: projectRef = 'default' } = useParams() const page = router.pathname.split('/')[4] ?? 'branches' return ( <>

Configure

) } const BranchLayout = ({ children }: PropsWithChildren<{}>) => { return ( } isBlocking={false}> {children} ) } export default withAuth(BranchLayout)