Skip to content

Commit

Permalink
Minor update.
Browse files Browse the repository at this point in the history
  • Loading branch information
weskubo-cgi authored and weskubo-cgi committed Nov 22, 2024
1 parent c0d5f0e commit dfa5ed4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/utils/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ export function updateHeicFileNameToJpg(filename) {
* @param image The base64 encoded image
*/
export function deriveImageType(image) {
const key = image.charAt(0)
switch (key) {
switch (image.charAt(0)) {
case '/':
return 'jpg'
case 'i':
Expand Down

0 comments on commit dfa5ed4

Please sign in to comment.