From 68c7e43d8c93318fe462a70431d8eab54bef6aaf Mon Sep 17 00:00:00 2001 From: hjlarry Date: Thu, 9 Oct 2025 17:40:20 +0800 Subject: [PATCH] fix user uploaded avatar display incorrect --- web/app/components/base/avatar/index.tsx | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/web/app/components/base/avatar/index.tsx b/web/app/components/base/avatar/index.tsx index c91a6a65b2..8226320c2a 100644 --- a/web/app/components/base/avatar/index.tsx +++ b/web/app/components/base/avatar/index.tsx @@ -45,14 +45,18 @@ const Avatar = ({ if (avatar && !imgError) { return ( - {name} onError?.(false)} - /> + > + {name} onError?.(false)} + /> + ) }