Skip to content

Commit

Permalink
fix specially for shitheads that cant read through blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
dEdmishka committed Jan 29, 2024
1 parent 3700623 commit 07e7220
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/pages/profile/file-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ const FileInput: FC<FileInputProps> = ({ className }) => {
setImage(file)

const fileReader = new FileReader()

fileReader.readAsDataURL(file)

fileReader.onloadstart = () => {
setProgress(0)
}
Expand Down

0 comments on commit 07e7220

Please sign in to comment.