mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-12 06:06:28 -05:00
@@ -22,6 +22,10 @@ export function Avatar({
|
||||
// TODO: just show text... my profile?
|
||||
// TODO: also show this if discordAvatar is stale and 404's
|
||||
|
||||
React.useEffect(() => {
|
||||
setIsErrored(false);
|
||||
}, [discordAvatar]);
|
||||
|
||||
return (
|
||||
<img
|
||||
className={clsx("avatar", className)}
|
||||
|
||||
Reference in New Issue
Block a user