Skip to content

Commit

Permalink
fix: fix delimiter apply before upload file (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
hetao92 authored Mar 14, 2023
1 parent 4647eef commit 9f07a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/pages/Import/FileList/UploadConfigModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const UploadConfigModal = (props: IProps) => {
}, []);

const updateAllDelimiter = useCallback((value: string) => {
const { data } = state;
const { data, setState } = state;
setState({
data: data.map(item => (item.delimiter = value, item))
});
Expand Down

0 comments on commit 9f07a3d

Please sign in to comment.