This commit is contained in:
Kenneth Jannette
2024-01-26 17:07:39 -06:00
parent 86c8e1a3f1
commit c89ced573d

View File

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