From 55bdc1cd7a598d26f4e4801c97568b4c04094620 Mon Sep 17 00:00:00 2001 From: Eric Lipe Date: Tue, 3 Oct 2023 14:12:15 -0600 Subject: [PATCH] - passing param --- tdrs-frontend/src/components/FileUpload/FileUpload.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdrs-frontend/src/components/FileUpload/FileUpload.jsx b/tdrs-frontend/src/components/FileUpload/FileUpload.jsx index b3fbc074f..d8a21476b 100644 --- a/tdrs-frontend/src/components/FileUpload/FileUpload.jsx +++ b/tdrs-frontend/src/components/FileUpload/FileUpload.jsx @@ -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 }))