Skip to content

Commit

Permalink
⚡ Remove useless on error
Browse files Browse the repository at this point in the history
  • Loading branch information
Androz2091 committed Mar 5, 2021
1 parent 082276b commit 6ece061
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file removed public/default-avatar.png
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/ProfileCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<div class="user-profile">
<div class="avatar">
<img src="{ avatar }" onerror="this.onerror = null; this.src='{ defaultAvatar }';" alt="Avatar" />
<img src="{ avatar }" alt="Avatar" />
</div>
<h1>
{ name }<small class="text-muted">#{ discriminator }</small>
Expand Down

0 comments on commit 6ece061

Please sign in to comment.