### What problem does this PR solve?

as title.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
  * Internal code quality improvements with no user-facing changes.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2026-04-07 23:16:52 +08:00
committed by GitHub
parent 931021875a
commit 4a2a17c27a

View File

@@ -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