more
This commit is contained in:
@@ -40,6 +40,7 @@ const SignupPage = () => {
|
|||||||
const [activeRadioOption, setActiveRadioOption] = useState("monthlyBasic");
|
const [activeRadioOption, setActiveRadioOption] = useState("monthlyBasic");
|
||||||
const modalText = "Description of monthly and annual subscriptions";
|
const modalText = "Description of monthly and annual subscriptions";
|
||||||
const [selectedPlan, setSelectedPlan] = useState({});
|
const [selectedPlan, setSelectedPlan] = useState({});
|
||||||
|
const [annualizd, setAnualized] = useState(true);
|
||||||
// Could also go in App.js if needed in the future
|
// Could also go in App.js if needed in the future
|
||||||
const stripe = new Stripe(stripeApiKey);
|
const stripe = new Stripe(stripeApiKey);
|
||||||
|
|
||||||
@@ -48,6 +49,10 @@ const SignupPage = () => {
|
|||||||
? process.env.REACT_APP_API_DEV
|
? process.env.REACT_APP_API_DEV
|
||||||
: process.env.REACT_APP_API_PROD;
|
: process.env.REACT_APP_API_PROD;
|
||||||
|
|
||||||
|
const basicPrice = 59;
|
||||||
|
const proPrice = 139;
|
||||||
|
const unlimtedAnnualPrice = 169;
|
||||||
|
|
||||||
const handleChangeInput = (e, name) => {
|
const handleChangeInput = (e, name) => {
|
||||||
const newData = handleFormDataChange(e, name, data, signupFields);
|
const newData = handleFormDataChange(e, name, data, signupFields);
|
||||||
if (newData !== null) {
|
if (newData !== null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user