diff --git a/apps/x/apps/renderer/src/App.tsx b/apps/x/apps/renderer/src/App.tsx index fe2848ef..e6682145 100644 --- a/apps/x/apps/renderer/src/App.tsx +++ b/apps/x/apps/renderer/src/App.tsx @@ -4141,7 +4141,7 @@ function App() { { navigateToFile(path) diff --git a/apps/x/apps/renderer/src/components/graph-view.tsx b/apps/x/apps/renderer/src/components/graph-view.tsx index f30a937c..0a847f54 100644 --- a/apps/x/apps/renderer/src/components/graph-view.tsx +++ b/apps/x/apps/renderer/src/components/graph-view.tsx @@ -1,6 +1,6 @@ import type * as React from 'react' import { useCallback, useEffect, useMemo, useRef, useState } from 'react' -import { Loader2, Search, X } from 'lucide-react' +import { Search, X } from 'lucide-react' import { Input } from '@/components/ui/input' export type GraphNode = { @@ -456,22 +456,13 @@ export function GraphView({ nodes, edges, isLoading, error, onSelectNode }: Grap return (
- {isLoading ? ( -
-
- - Building graph… -
-
- ) : null} - - {error ? ( +{error ? (
{error}
) : null} - {!isLoading && !error && nodes.length === 0 ? ( + {!error && nodes.length === 0 ? (
No notes found.