yangdx
commited on
Commit
·
d2b4ed5
1
Parent(s):
142eaf3
Fix linting
Browse files
lightrag_webui/src/features/RetrievalTesting.tsx
CHANGED
@@ -28,7 +28,7 @@ export default function RetrievalTesting() {
|
|
28 |
// Calculate distance to bottom
|
29 |
const { scrollTop, scrollHeight, clientHeight } = container
|
30 |
const distanceToBottom = scrollHeight - scrollTop - clientHeight
|
31 |
-
|
32 |
// Consider near bottom if less than 100px from bottom
|
33 |
return distanceToBottom < 100
|
34 |
}, [])
|
|
|
28 |
// Calculate distance to bottom
|
29 |
const { scrollTop, scrollHeight, clientHeight } = container
|
30 |
const distanceToBottom = scrollHeight - scrollTop - clientHeight
|
31 |
+
|
32 |
// Consider near bottom if less than 100px from bottom
|
33 |
return distanceToBottom < 100
|
34 |
}, [])
|
lightrag_webui/vite.config.ts
CHANGED
@@ -33,7 +33,7 @@ export default defineConfig({
|
|
33 |
'feature-graph': ['./src/features/GraphViewer'],
|
34 |
'feature-documents': ['./src/features/DocumentManager'],
|
35 |
'feature-retrieval': ['./src/features/RetrievalTesting'],
|
36 |
-
|
37 |
// Mermaid-related modules
|
38 |
'mermaid-vendor': ['mermaid'],
|
39 |
|
|
|
33 |
'feature-graph': ['./src/features/GraphViewer'],
|
34 |
'feature-documents': ['./src/features/DocumentManager'],
|
35 |
'feature-retrieval': ['./src/features/RetrievalTesting'],
|
36 |
+
|
37 |
// Mermaid-related modules
|
38 |
'mermaid-vendor': ['mermaid'],
|
39 |
|