Skip to content

Commit 5117e53

Browse files
Update src/components/forms/FileInput/FileInput.stories.tsx
Co-authored-by: Brandon Lenz <15805554+brandonlenz@users.noreply.github.com>
1 parent 3f36a6c commit 5117e53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/forms/FileInput/FileInput.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export const WithRefAndCustomHandlers = {
120120

121121
const handleClearFiles = (): void => {
122122
fileInputRef.current?.clearFiles()
123-
setFiles(null)
123+
setFiles(INITIAL_FILES)
124124
}
125125

126126
const handleChange = (e: React.ChangeEvent<HTMLInputElement>): void => {

0 commit comments

Comments
 (0)