diff --git a/frontend/src/components/DependencyGraph.tsx b/frontend/src/components/DependencyGraph.tsx index 2b60f9f..01d426c 100644 --- a/frontend/src/components/DependencyGraph.tsx +++ b/frontend/src/components/DependencyGraph.tsx @@ -12,6 +12,7 @@ import dagre from 'dagre' import { Lightbulb } from 'lucide-react' import 'reactflow/dist/style.css' import { useDependencyGraph } from '../hooks/useCachedQuery' +import { DependencyGraphSkeleton } from './ui/Skeleton' interface DependencyGraphProps { repoId: string @@ -174,12 +175,7 @@ export function DependencyGraph({ repoId, apiUrl, apiKey }: DependencyGraphProps } if (loading) { - return ( -
Building dependency graph...
-Try a different query or check if the repository is fully indexed
-Analyzing code style patterns...
-+ We couldn't find any code matching your query. Try one of the suggestions below or refine your search. +
+