From b91d91d2ba310e520bc9063e7f234a652490fc68 Mon Sep 17 00:00:00 2001 From: daniel-vahn Date: Thu, 23 May 2024 10:22:32 +0200 Subject: [PATCH] refactor: Update Avatar component to use max-w-full for image width --- src/App.tsx | 7 +++++-- src/components/utils/Avatar.tsx | 8 ++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 03ef52f..c904843 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -280,11 +280,14 @@ function App() {

HORRAY!

-

{account}

+

+ {account || + '0xcccodoiuwqbqjßq21jruß2rß120j'} +

diff --git a/src/components/utils/Avatar.tsx b/src/components/utils/Avatar.tsx index 1fbc1a9..5bd07cc 100644 --- a/src/components/utils/Avatar.tsx +++ b/src/components/utils/Avatar.tsx @@ -6,8 +6,12 @@ type Props = { const Avatar: React.FC = ({ src }) => { return ( -
- +
+
); };