♻️ refactor(people): uniform employee card rendering
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user