diff --git a/src/components/pages/profile/file-input.tsx b/src/components/pages/profile/file-input.tsx index cd50353..682e22d 100644 --- a/src/components/pages/profile/file-input.tsx +++ b/src/components/pages/profile/file-input.tsx @@ -33,7 +33,9 @@ const FileInput: FC = ({ className }) => { setImage(file) const fileReader = new FileReader() + fileReader.readAsDataURL(file) + fileReader.onloadstart = () => { setProgress(0) }