Fix linting

This commit is contained in:
yangdx
2025-04-22 18:34:30 +08:00
parent 6c556cd65f
commit 1b63149a11
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ export default function RetrievalTesting() {
// Calculate distance to bottom // Calculate distance to bottom
const { scrollTop, scrollHeight, clientHeight } = container const { scrollTop, scrollHeight, clientHeight } = container
const distanceToBottom = scrollHeight - scrollTop - clientHeight const distanceToBottom = scrollHeight - scrollTop - clientHeight
// Consider near bottom if less than 100px from bottom // Consider near bottom if less than 100px from bottom
return distanceToBottom < 100 return distanceToBottom < 100
}, []) }, [])

View File

@@ -33,7 +33,7 @@ export default defineConfig({
'feature-graph': ['./src/features/GraphViewer'], 'feature-graph': ['./src/features/GraphViewer'],
'feature-documents': ['./src/features/DocumentManager'], 'feature-documents': ['./src/features/DocumentManager'],
'feature-retrieval': ['./src/features/RetrievalTesting'], 'feature-retrieval': ['./src/features/RetrievalTesting'],
// Mermaid-related modules // Mermaid-related modules
'mermaid-vendor': ['mermaid'], 'mermaid-vendor': ['mermaid'],