diff --git a/packages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/PaymentMethodSelector.tsx b/packages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/PaymentMethodSelector.tsx
index 430db82645..b53e76df7b 100644
--- a/packages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/PaymentMethodSelector.tsx
+++ b/packages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/PaymentMethodSelector.tsx
@@ -86,7 +86,7 @@ interface IPaymentMethodProps {
const PaymentMethodSelector = ({ selectedProductPrice, goBack, onSelectPaymentMethod }: IPaymentMethodProps) => {
const classes = useStyles()
const [paymentMethod, setPaymentMethod] = useState<"creditCard" | "crypto" | undefined>()
- const [view, setView] = useState<"selectPaymentMethod" | "addCard">("selectPaymentMethod")
+ const [isCardFormOpen, setIsCardFormOpen] = useState(false)
const { defaultCard } = useBilling()
useEffect(() => {
@@ -110,10 +110,10 @@ const PaymentMethodSelector = ({ selectedProductPrice, goBack, onSelectPaymentMe
component="p"
className={classes.subHeading}
>
- {view === "addCard" &&