import { useLocation } from '@tanstack/react-router' import { useParams } from 'common' 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 pathname = useLocation({ select: (location) => location.pathname }) const { ref: projectRef = 'default' } = useParams() const page = pathname.split('/')[4] ?? 'branches' return ( <>

Configure

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