This commit is contained in:
ditiqi 2025-02-18 08:34:39 +08:00
parent 1174815e4e
commit 9a56e03de9
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ export function StaffCard({ staff }: StaffCardProps) {
<div className="w-24 h-32 flex-shrink-0 flex items-center justify-center relative">
{staff.meta?.photoUrl ? (
<img
src={staff.meta.photoUrl}
src={staff?.meta?.photoUrl}
alt={staff?.showname || staff?.username}
className="w-full h-full object-cover"
/>