feat: Log camera update response data for debugging purposes; adjust user position parameter in findEnvironment function

This commit is contained in:
2025-04-05 17:40:46 +05:30
parent 58d82da349
commit c5d4507400
6 changed files with 211 additions and 188 deletions

View File

@@ -20,7 +20,24 @@ const CollabUserIcon: React.FC<CollabUserIconProps> = ({
{userImage ? (
<img className="user-image" src={userImage} alt={userName} />
) : (
<CustomAvatar name={userName} index={index} />
<CustomAvatar name={userName} index={index} color={color} />
// <div
// className="user-image"
// style={{
// lineHeight: "30px",
// textTransform: "uppercase",
// textAlign: "center",
// fontSize: "16px",
// borderRadius: "50%",
// backgroundColor: color,
// overflow: "hidden",
// backgroundSize: "cover",
// backgroundPosition: "center",
// color: "white",
// fontWeight: "bold",
// }}>
// {userName[0]}
// </div>
)}
</div>
<div className="user-name" style={{ backgroundColor: color }}>