Fix TS issue bis

This commit is contained in:
Michael
2021-08-31 14:30:29 +02:00
parent 8ad864ef2e
commit ffef6c81ce

View File

@@ -68,7 +68,7 @@ const Avatar = ({ url, size, onUpload }: AvatarProps): JSX.Element => {
onUpload(filePath); onUpload(filePath);
} catch (error) { } catch (error) {
alert(error.message); alert('There was an issue with the upload, please try again');
} finally { } finally {
setUploading(false); setUploading(false);
} }