Skip to content

Commit

Permalink
No need to load files twice.
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardMoyse committed Sep 20, 2024
1 parent 525c2b9 commit 15d37d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/phoenix-event-display/src/helpers/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ export const loadFile = (
};

inputFile.oninput = fileSelected;
inputFile.onchange = fileSelected;
// inputFile.onchange = fileSelected;
inputFile.click();
};

0 comments on commit 15d37d8

Please sign in to comment.