♻️ refactor(people): uniform employee card rendering

This commit is contained in:
2026-02-10 11:19:12 +01:00
parent 31b5f3c999
commit 416d60c8a9
2 changed files with 27 additions and 23 deletions
@@ -28,6 +28,9 @@ const EmplyeeStack: FC<Props> = ({
}
}
if (items.length === 0) return null
if (items.length === 1) return <EmplyeeCard {...items[0]} />
return (
<Box
onClick={handleTopClick}