diff options
Diffstat (limited to 'gui/src/components/Avatar.tsx')
| -rw-r--r-- | gui/src/components/Avatar.tsx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gui/src/components/Avatar.tsx b/gui/src/components/Avatar.tsx index a071655..2b38848 100644 --- a/gui/src/components/Avatar.tsx +++ b/gui/src/components/Avatar.tsx @@ -43,7 +43,7 @@ export default function ({ function openModal(e: React.MouseEvent) { if (noClickOnName) return; e.stopPropagation(); - setModal(<UserModal user={user} userString={userString} />); + setModal(<UserModal userString={userString} />); } const name = ( <div className="name cp" role="link" onMouseUp={openModal}> @@ -58,5 +58,10 @@ export default function ({ )} </div> ); - return <div className="ship-avatar">{name}</div>; + return ( + <div className="ship-avatar"> + {avatar} + {name} + </div> + ); } |
