fix: format memory-graph.tsx to pass Biome CI check

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
claude[bot] 2026-05-13 17:40:43 +00:00
parent 96f8bd99c2
commit d425b90fd0

View file

@ -277,11 +277,7 @@ export function MemoryGraph({
// Navigation
const handleAutoFit = useCallback(() => {
if (nodes.length === 0 || !viewportRef.current) return
viewportRef.current.fitToNodes(
nodes,
containerSize.width,
graphFitHeight,
)
viewportRef.current.fitToNodes(nodes, containerSize.width, graphFitHeight)
}, [nodes, containerSize.width, graphFitHeight])
const handleCenter = useCallback(() => {