Skip to content

Commit

Permalink
Update useSelectFile.tsx (#524)
Browse files Browse the repository at this point in the history
修复知识库选择文件onChange事件遇到有http请求时无法响应的bug
  • Loading branch information
a327958099 authored Nov 28, 2023
1 parent 933c3fd commit e765c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/app/src/web/common/file/hooks/useSelectFile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const useSelectFile = (props?: {
/>
</Box>
),
[fileType, maxCount, multiple, t, toast]
[fileType, maxCount, multiple]
);

const onOpen = useCallback(() => {
Expand Down

0 comments on commit e765c3b

Please sign in to comment.