From 4a2a17c27a1034e580fb2e9e2c06d3f8aa2aeff0 Mon Sep 17 00:00:00 2001 From: Jin Hai Date: Tue, 7 Apr 2026 23:16:52 +0800 Subject: [PATCH] Fix typos (#13961) ### What problem does this PR solve? as title. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) ## Summary by CodeRabbit * **Chores** * Internal code quality improvements with no user-facing changes. Signed-off-by: Jin Hai --- web/src/hooks/use-document-request.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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