import Link from 'next/link'
import { Database, Wind } from 'lucide-react'
import { Card, CardContent, CardHeader, CardTitle } from 'ui'
import DiffViewer from 'components/ui/DiffViewer'
import { Loading, ErrorState, EmptyState } from 'components/ui/AsyncState'
interface DatabaseDiffPanelProps {
diffContent?: string
isLoading: boolean
error?: any
showRefreshButton?: boolean
currentBranchRef?: string
}
const DatabaseDiffPanel = ({
diffContent,
isLoading,
error,
currentBranchRef,
}: DatabaseDiffPanelProps) => {
if (isLoading) return
if (error) return
// Handle empty diff content
if (!diffContent || diffContent.trim() === '') {
return (
)
}
return (
Schema Changes
)
}
export default DatabaseDiffPanel