Skip to content

Commit

Permalink
chore: fix issue #91
Browse files Browse the repository at this point in the history
  • Loading branch information
SeungJL committed Apr 18, 2024
1 parent 2e4c94b commit 67a6a51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/molecules/ImageUploadInput.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Input } from "@chakra-ui/react";
import { faCameraViewfinder } from "@fortawesome/pro-light-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { captureException } from "@sentry/nextjs";
import Image from "next/image";
import { useRef, useState } from "react";
import styled from "styled-components";
Expand Down Expand Up @@ -45,6 +46,7 @@ export default function ImageUploadInput({ setImageUrl: changeImage }: IImageUpl
setImageUrl(image);
changeImage(file);
} else {
captureException(error);
console.error("Error converting HEIC to JPEG", error);
}
}
Expand Down

0 comments on commit 67a6a51

Please sign in to comment.