Update useSelectFile.tsx (#524)

修复知识库选择文件onChange事件遇到有http请求时无法响应的bug
This commit is contained in:
Mufei
2023-11-28 19:09:56 +08:00
committed by GitHub
parent 933c3fdfd6
commit e765c3bf95

View File

@@ -34,7 +34,7 @@ export const useSelectFile = (props?: {
/>
</Box>
),
[fileType, maxCount, multiple, t, toast]
[fileType, maxCount, multiple]
);
const onOpen = useCallback(() => {