fix: allows cleared file to be reselected
This commit is contained in:
@@ -160,6 +160,7 @@ const Upload: React.FC<Props> = (props) => {
|
||||
iconStyle="with-border"
|
||||
onClick={() => {
|
||||
setValue(null);
|
||||
inputRef.current.value = null;
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user