From 1f683bdeea1bbc302155ea3b83d50d5b607e237d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Thu, 7 Jan 2021 14:57:30 +0900 Subject: [PATCH] feat: added size props --- components/DiscordImage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/DiscordImage.tsx b/components/DiscordImage.tsx index e1a7403..abc0d18 100644 --- a/components/DiscordImage.tsx +++ b/components/DiscordImage.tsx @@ -1,7 +1,7 @@ import NextImage from 'next/image' -const DiscordImage = (props: { userID: string, avatarHash: string, tag: number|string, className?: string }) => { - return e.target.src = '/img/default.png'}/> +const DiscordImage = (props: { size?: number, userID: string, avatarHash: string, tag: number|string, className?: string }) => { + return } export default DiscordImage