lint
This commit is contained in:
parent
9d24003517
commit
64e43bf7c7
@ -49,7 +49,9 @@ export const fileOpen = <M extends boolean | undefined = false>(opts: {
|
||||
const scheduleRejection = debounce(reject, INPUT_CHANGE_INTERVAL_MS);
|
||||
|
||||
const checkForFile = () => {
|
||||
if (isResolved) return;
|
||||
if (isResolved) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (input.files?.length) {
|
||||
isResolved = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user