Skip to content

armgit / ente

Public Imported from GitHub
0

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

Scope

Manav Rathidbd2addeea7b
diff --git a/web/apps/photos/src/components/pages/gallery/PlanSelector/card.tsx b/web/apps/photos/src/components/pages/gallery/PlanSelector/card.tsx
index cd4016501b..af2335db49 100644
--- a/web/apps/photos/src/components/pages/gallery/PlanSelector/card.tsx
+++ b/web/apps/photos/src/components/pages/gallery/PlanSelector/card.tsx
@@ -49,12 +49,12 @@ import { getLocalUserDetails } from "utils/user";
import { getTotalFamilyUsage, isPartOfFamily } from "utils/user/family";
import Plans from "./plans";
-interface Props {
+interface PlanSelectorCardProps {
closeModal: any;
setLoading: SetLoading;
}
-function PlanSelectorCard(props: Props) {
+function PlanSelectorCard(props: PlanSelectorCardProps) {
const subscription = useMemo(() => getLocalUserSubscription(), []);
const [plansResponse, setPlansResponse] = useState<
PlansResponse | undefined
diff --git a/web/apps/photos/src/components/pages/gallery/PlanSelector/index.tsx b/web/apps/photos/src/components/pages/gallery/PlanSelector/index.tsx
index 28c5a1cc9d..d58c455158 100644
--- a/web/apps/photos/src/components/pages/gallery/PlanSelector/index.tsx
+++ b/web/apps/photos/src/components/pages/gallery/PlanSelector/index.tsx
@@ -2,13 +2,13 @@ import { Dialog, useMediaQuery, useTheme } from "@mui/material";
import { SetLoading } from "types/gallery";
import PlanSelectorCard from "./card";
-interface Props {
+interface PlanSelectorProps {
modalView: boolean;
closeModal: any;
setLoading: SetLoading;
}
-function PlanSelector(props: Props) {
+function PlanSelector(props: PlanSelectorProps) {
const fullScreen = useMediaQuery(useTheme().breakpoints.down("sm"));
if (!props.modalView) {
diff --git a/web/apps/photos/src/components/pages/gallery/PlanSelector/plans/index.tsx b/web/apps/photos/src/components/pages/gallery/PlanSelector/plans/index.tsx
index a3db22f1c0..942607be89 100644
--- a/web/apps/photos/src/components/pages/gallery/PlanSelector/plans/index.tsx
+++ b/web/apps/photos/src/components/pages/gallery/PlanSelector/plans/index.tsx
@@ -27,7 +27,7 @@ import {
isUserSubscribedPlan,
} from "utils/billing";
-interface Iprops {
+interface PlansProps {
plansResponse: PlansResponse | undefined;
planPeriod: PLAN_PERIOD;
subscription: Subscription;
@@ -43,7 +43,7 @@ const Plans = ({
bonusData,
onPlanSelect,
closeModal,
-}: Iprops) => {
+}: PlansProps) => {
const { freePlan, plans } = plansResponse ?? {};
return (
<Stack spacing={2}>