From 6d5531c58747dcd78e58b3a4ce5ded83613fe11d Mon Sep 17 00:00:00 2001 From: killerboss Date: Wed, 30 Oct 2024 22:26:19 +0100 Subject: [PATCH] Added Image to Avatartsx --- blog/avatar.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/blog/avatar.tsx b/blog/avatar.tsx index 9c2ea4d..7a27a80 100644 --- a/blog/avatar.tsx +++ b/blog/avatar.tsx @@ -1,3 +1,5 @@ +import Image from "next/image"; + type Props = { name: string; picture: string; @@ -6,7 +8,7 @@ type Props = { const Avatar = ({ name, picture }: Props) => { return (
- {name} + {name}
{name}
);