diff --git a/src/component/subscribe/Subscribe.jsx b/src/component/subscribe/Subscribe.jsx index b611f51..00d6de4 100644 --- a/src/component/subscribe/Subscribe.jsx +++ b/src/component/subscribe/Subscribe.jsx @@ -7,13 +7,11 @@ import SubcribePaymentOptions from "./SubcribePaymentOptions"; import StripeSubscriptionButton from "./StripeSubscriptionButton"; - - export default function Subscribe() { - const {state: {selectedSubscription,customerId}} = useLocation() + const {state: {selectedSubscription, customerId}} = useLocation() console.log('selectedSubscription', selectedSubscription) - console.log('selectedSubscription.option_name',selectedSubscription.option_name) + console.log('selectedSubscription.option_name', selectedSubscription.option_name) console.log('customerId', customerId) let [activePaymentType, setActivePaymentType] = useState('previous') @@ -29,15 +27,17 @@ export default function Subscribe() {