fix: delete chunk by @tanstack/react-query #1306 (#1749)

### What problem does this PR solve?
fix: delete chunk by @tanstack/react-query #1306

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2024-07-30 16:55:00 +08:00
committed by GitHub
parent 74ebc497c1
commit ceb0419fe5
9 changed files with 239 additions and 341 deletions

2
web/typings.d.ts vendored
View File

@ -1,4 +1,3 @@
import { ChunkModelState } from '@/pages/add-knowledge/components/knowledge-chunk/model';
import { KFModelState } from '@/pages/add-knowledge/components/knowledge-file/model';
import { ChatModelState } from '@/pages/chat/model';
@ -12,7 +11,6 @@ function useSelector<TState = RootState, TSelected = unknown>(
export interface RootState {
chatModel: ChatModelState;
kFModel: KFModelState;
chunkModel: ChunkModelState;
}
declare global {