mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-12-01 10:07:52 +01:00
lint
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user