Skip to content

Commit

Permalink
Update badge image source
Browse files Browse the repository at this point in the history
  • Loading branch information
Darguima committed Nov 24, 2023
1 parent dd55004 commit 4ad6ecf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/Badge/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interface BadgeProps {

export default function Badge({ name, id, avatar, tokens, owned }: BadgeProps) {
const imageOnError: ReactEventHandler<HTMLImageElement> = (e) => {
e.currentTarget.src = "/images/badges/badge-template.svg";
e.currentTarget.src = "/images/badges/badge-not-found.svg";
};

return (
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4ad6ecf

Please sign in to comment.