large mock refector hopefully done + no errors?
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 1h13m59s
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 1h13m59s
This commit is contained in:
@@ -116,7 +116,11 @@ export const ActivityLog: React.FC<ActivityLogProps> = ({ user, onLogClick }) =>
|
||||
<li key={log.activity_log_id} className="flex items-start space-x-3">
|
||||
<div className="shrink-0">
|
||||
{log.details?.user_avatar_url ? (
|
||||
<img className="h-8 w-8 rounded-full" src={log.details.user_avatar_url} alt={log.details.user_full_name || ''} />
|
||||
(() => {
|
||||
const altText = log.details.user_full_name || 'User Avatar';
|
||||
console.log(`[ActivityLog] Rendering avatar for log ${log.activity_log_id}. Alt: "${altText}"`);
|
||||
return <img className="h-8 w-8 rounded-full" src={log.details.user_avatar_url} alt={altText} />;
|
||||
})()
|
||||
) : (
|
||||
<span className="h-8 w-8 rounded-full bg-gray-300 dark:bg-gray-600 flex items-center justify-center">
|
||||
<svg className="h-5 w-5 text-gray-500 dark:text-gray-400" fill="currentColor" viewBox="0 0 20 20">
|
||||
|
||||
Reference in New Issue
Block a user