mirror of
https://github.com/fergalmoran/supanextail.git
synced 2025-12-22 09:17:54 +00:00
Fix TS issue bis
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user