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 bab3538 commit 43c9795
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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 Down

0 comments on commit 43c9795

Please sign in to comment.