mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Feat: Run eslint when the project is running to standardize everyone's code #9377 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -1,13 +1,9 @@
|
||||
import { useTestRetrieval } from '@/hooks/use-knowledge-request';
|
||||
import { useCallback, useState } from 'react';
|
||||
import { useState } from 'react';
|
||||
import { TopTitle } from '../dataset-title';
|
||||
import TestingForm from './testing-form';
|
||||
import { TestingResult } from './testing-result';
|
||||
|
||||
function Vertical() {
|
||||
return <div>xxx</div>;
|
||||
}
|
||||
|
||||
export default function RetrievalTesting() {
|
||||
const {
|
||||
loading,
|
||||
@ -21,15 +17,7 @@ export default function RetrievalTesting() {
|
||||
filterValue,
|
||||
} = useTestRetrieval();
|
||||
|
||||
const [count, setCount] = useState(1);
|
||||
|
||||
const addCount = useCallback(() => {
|
||||
setCount(2);
|
||||
}, []);
|
||||
|
||||
const removeCount = useCallback(() => {
|
||||
setCount(1);
|
||||
}, []);
|
||||
const [count] = useState(1);
|
||||
|
||||
return (
|
||||
<div className="p-5">
|
||||
|
||||
Reference in New Issue
Block a user