Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix typos (#13961)

Jin Hai4a2a17c27a10
diff --git a/web/src/hooks/use-document-request.ts b/web/src/hooks/use-document-request.ts
index fb5fa345a2..e7a135a89d 100644
--- a/web/src/hooks/use-document-request.ts
+++ b/web/src/hooks/use-document-request.ts
@@ -209,7 +209,7 @@ export const useGetDocumentFilter = (): {
}
},
});
- const handleOnpenChange = (e: boolean) => {
+ const handleOpenChange = (e: boolean) => {
if (e) {
const currentOpen = open + 1;
setOpen(currentOpen);
@@ -221,7 +221,7 @@ export const useGetDocumentFilter = (): {
suffix: {},
metadata: {},
},
- onOpenChange: handleOnpenChange,
+ onOpenChange: handleOpenChange,
};
};
// update document status