import { Github } from 'lucide-react' import Link from 'next/link' import { Button } from 'ui' import { BranchSelector } from './BranchSelector' import { DocsButton } from '@/components/ui/DocsButton' import type { Branch } from '@/data/branches/branches-query' import { DOCS_URL } from '@/lib/constants' const EMPTY_STATE_CONTAINER = 'flex items-center flex-col gap-0.5 justify-center w-full py-10 px-4' export const PullRequestsEmptyState = ({ url, projectRef, branches, onBranchSelected, isUpdating, hasGithubConnection, }: { url: string projectRef: string branches: Branch[] onBranchSelected: (branch: Branch) => void isUpdating: boolean hasGithubConnection?: boolean }) => { return (

No merge requests

Create your first merge request to merge changes back to the main branch

{hasGithubConnection ? ( ) : ( )}
) } export const PreviewBranchesEmptyState = ({ onSelectCreateBranch, }: { onSelectCreateBranch: () => void }) => { return (

Create your first preview branch

Preview branches are short-lived environments that let you safely experiment with changes to your database schema without affecting your main database.

) }