'use client'; import { cn } from '@/lib/utils'; import { useEditorProvider } from '@/hooks/use-editor-resolver'; import { MonacoInlineDiff } from '@/components/editors/monaco/monaco-inline-diff'; import { DiffViewInline } from '@/components/diff'; import type { FileDiffData } from '@/lib/diff/types'; type DiffViewBlockProps = { data: FileDiffData; className?: string; }; export function DiffViewBlock({ data, className }: DiffViewBlockProps) { const provider = useEditorProvider('chat-diff'); if (provider === 'monaco') { return ; } return (
); }