Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix(AllPeople):lint-fixed

Aswin Asokca0ae453dd00
diff --git a/web/apps/photos/src/components/Collections/AllPeople.tsx b/web/apps/photos/src/components/Collections/AllPeople.tsx
index c60c4222a3..056b9f1540 100644
--- a/web/apps/photos/src/components/Collections/AllPeople.tsx
+++ b/web/apps/photos/src/components/Collections/AllPeople.tsx
@@ -208,13 +208,8 @@ const peopleListInnerStyle = (
};
};
-const peopleRowStyle = (
- style: React.CSSProperties,
-): React.CSSProperties => {
- return {
- ...style,
- top: addTopSpacing(style.top),
- };
+const peopleRowStyle = (style: React.CSSProperties): React.CSSProperties => {
+ return { ...style, top: addTopSpacing(style.top) };
};
const PeopleListInner = React.forwardRef<
@@ -690,12 +685,12 @@ const ActionMenuContainer = styled(Box)`
}
`;
-type AddPersonDialogProps = {
+interface AddPersonDialogProps {
open: boolean;
onClose: () => void;
people: Person[];
cluster: FaceCluster | undefined;
-};
+}
const AddPersonDialog: React.FC<AddPersonDialogProps> = ({
open,