chore(web): remove unused props (#17141)

This commit is contained in:
Ben McCann
2025-03-27 15:12:14 -07:00
committed by GitHub
parent 84c35e35d6
commit 411772123f
11 changed files with 4 additions and 21 deletions
+1 -2
View File
@@ -408,13 +408,12 @@
{#if countVisiblePeople > 0 && (!searchName || searchedPeopleLocal.length > 0)}
<PeopleInfiniteScroll people={showPeople} hasNextPage={!!nextPage && !searchName} {loadNextPage}>
{#snippet children({ person, index })}
{#snippet children({ person })}
<div
class="p-2 rounded-xl hover:bg-gray-200 border-2 hover:border-immich-primary/50 hover:shadow-sm dark:hover:bg-immich-dark-primary/20 hover:dark:border-immich-dark-primary/25 border-transparent transition-all"
>
<PeopleCard
{person}
preload={index < 20}
onSetBirthDate={() => handleSetBirthDate(person)}
onMergePeople={() => handleMergePeople(person)}
onHidePerson={() => handleHidePerson(person)}