Skip to content

Commit

Permalink
Prettier fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardMoyse committed Aug 25, 2023
1 parent a2ef6f7 commit bab3538
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/phoenix-event-display/src/helpers/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
export const saveFile = (
data: string,
fileName: string,
contentType: string = 'application/json',
contentType: string = 'application/json'
) => {
const blob = new Blob([data], { type: contentType });
const tempAnchor = document.createElement('a');
Expand All @@ -25,7 +25,7 @@ export const saveFile = (
*/
export const loadFile = (
onFileRead: (data: string) => void,
contentType: string = 'application/json',
contentType: string = 'application/json'
) => {
// Create a mock input file element and use that to read the file
let inputFile = document.createElement('input');
Expand All @@ -45,5 +45,5 @@ export const loadFile = (
inputFile.click();
setTimeout(() => {
console.log('Let us just wait a second');
}, 1000);
}, 1000);
};

0 comments on commit bab3538

Please sign in to comment.