Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix(lint)

Aswin Asok02ffa1f28270
diff --git a/web/packages/new/photos/components/CollectionsSortOptions.tsx b/web/packages/new/photos/components/CollectionsSortOptions.tsx
index 761a99c62f..6704d36665 100644
--- a/web/packages/new/photos/components/CollectionsSortOptions.tsx
+++ b/web/packages/new/photos/components/CollectionsSortOptions.tsx
@@ -187,9 +187,7 @@ const SortCategoryOption: React.FC<SortCategoryOptionProps> = ({
const arrowIcon = activeAscending ? ArrowUp02Icon : ArrowDown02Icon;
return (
- <StyledMenuItem
- onClick={() => onClick(category)}
- >
+ <StyledMenuItem onClick={() => onClick(category)}>
<Stack direction="row" sx={{ alignItems: "center" }}>
<Typography
sx={{
diff --git a/web/packages/new/photos/components/gallery/BarImpl.tsx b/web/packages/new/photos/components/gallery/BarImpl.tsx
index 7731d73311..c41c21b7f7 100644
--- a/web/packages/new/photos/components/gallery/BarImpl.tsx
+++ b/web/packages/new/photos/components/gallery/BarImpl.tsx
@@ -606,11 +606,7 @@ const PersonCard: React.FC<PersonCardProps> = ({
{person.name && <CardText>{person.name}</CardText>}
{person.isPinned && (
<PersonPinnedIcon>
- <HugeiconsIcon
- icon={PinIcon}
- size={18}
- color="white"
- />
+ <HugeiconsIcon icon={PinIcon} size={18} color="white" />
</PersonPinnedIcon>
)}
</ItemCard>