diff --git a/src/components/ErrorPanel.tsx b/src/components/ErrorPanel.tsx index ecaca1e..6e59f26 100644 --- a/src/components/ErrorPanel.tsx +++ b/src/components/ErrorPanel.tsx @@ -3,10 +3,7 @@ import { CodeError } from '@/types/errors' import { ProjectFile } from '@/types/project' import { ErrorRepairService } from '@/lib/error-repair-service' import { Card } from '@/components/ui/card' -import { Button } from '@/components/ui/button' -import { Badge } from '@/components/ui/badge' import { ScrollArea } from '@/components/ui/scroll-area' -import { Separator } from '@/components/ui/separator' import { Warning, X, @@ -23,6 +20,19 @@ import { CollapsibleContent, CollapsibleTrigger, } from '@/components/ui/collapsible' +import { + Badge, + ActionButton, + Stack, + Flex, + Heading, + Text, + EmptyState, + IconText, + Code, + StatusIcon, + PanelHeader +} from '@/components/atoms' interface ErrorPanelProps { files: ProjectFile[] @@ -210,14 +220,13 @@ export function ErrorPanel({ files, onFileChange, onFileSelect }: ErrorPanelProp return (
- All files are looking good! Click "Scan" to check again. -
-- Analyzing your code for errors and issues -
-{error.message}
+ +{error.code}
- The page you're looking for doesn't exist or may have been moved. -
-- {link.description} -
-- Need help? Check the keyboard shortcuts with{' '} - Ctrl - {' + '} - / -
-- Create your first data source to start binding data to components -
-- Start building your UI by dragging components from the left panel, or import an existing schema. -
- -
-
+
+
+