Skip to content

Commit 8d91d90

Browse files
committed
feat: add missing deps on useefect
1 parent fc71081 commit 8d91d90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/@dcl/inspector/src/components/ui/FileUploadField/FileUploadField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ const FileUploadField: React.FC<Props> = ({
173173
}
174174
if (inputRef.current) inputRef.current.value = ''
175175
},
176-
[inputRef, setPath, setDropError]
176+
[inputRef, setPath, setDropError, uploadFile, onDrop]
177177
)
178178

179179
const hasError = useMemo(() => {

0 commit comments

Comments
 (0)