From 4ad6ecf467d9278be0dd1016d06ab7137fa107f5 Mon Sep 17 00:00:00 2001 From: Darguima Date: Fri, 24 Nov 2023 22:45:01 +0000 Subject: [PATCH] Update badge image source --- components/Badge/index.tsx | 2 +- .../images/badges/{badge-template.svg => badge-not-found.svg} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename public/images/badges/{badge-template.svg => badge-not-found.svg} (99%) diff --git a/components/Badge/index.tsx b/components/Badge/index.tsx index 3cb83f57..32d02669 100644 --- a/components/Badge/index.tsx +++ b/components/Badge/index.tsx @@ -11,7 +11,7 @@ interface BadgeProps { export default function Badge({ name, id, avatar, tokens, owned }: BadgeProps) { const imageOnError: ReactEventHandler = (e) => { - e.currentTarget.src = "/images/badges/badge-template.svg"; + e.currentTarget.src = "/images/badges/badge-not-found.svg"; }; return ( diff --git a/public/images/badges/badge-template.svg b/public/images/badges/badge-not-found.svg similarity index 99% rename from public/images/badges/badge-template.svg rename to public/images/badges/badge-not-found.svg index 73013e2c..6c3c3b79 100644 --- a/public/images/badges/badge-template.svg +++ b/public/images/badges/badge-not-found.svg @@ -1 +1 @@ -404404404 \ No newline at end of file + \ No newline at end of file