mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-07 08:26:15 +00:00
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:
parent
96f8bd99c2
commit
d425b90fd0
1 changed files with 1 additions and 5 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue