Skip to content

Commit

Permalink
- passing param
Browse files Browse the repository at this point in the history
  • Loading branch information
elipe17 committed Oct 3, 2023
1 parent 46acf0a commit 55bdc1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tdrs-frontend/src/components/FileUpload/FileUpload.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function FileUpload({ section, setLocalAlertState }) {
if (hasPreview || hasFile) {
trySettingPreview()
}
}, [hasPreview, fileName, targetClassName])
}, [hasPreview, hasFile, fileName, targetClassName])

const downloadFile = ({ target }) => {
dispatch(clearError({ section: sectionName }))
Expand Down

0 comments on commit 55bdc1c

Please sign in to comment.