This commit is contained in:
Kenneth Jannette
2024-02-25 12:21:59 -06:00
parent 2a753814c1
commit 285637f9ff
3 changed files with 6 additions and 6 deletions

View File

@@ -90,7 +90,7 @@ const UploadModal = (props) => {
async function uploadFile(file) {
console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~radioValue", radioValue);
try {
if (radioValue === "discovery-request") {
if (radioValue === "complaint") {
console.log("hit radio if");
const response = await fetch(`${apiUrl}/v1/gen-disc-request`, {
method: "POST",
@@ -214,7 +214,7 @@ const UploadModal = (props) => {
marginRight: "8px",
}}
/>
Selecting "complaint" will automatically begin creation of
NOTE: Selecting "complaint" will automatically begin creation of
discovery requests.
</span>
</p>

View File

@@ -45,12 +45,12 @@ const SignupPage = () => {
getFormDataDefaults(paymentfields)
);
const [showPaymentModal, setShowPaymentModal] = useState(false);
/*
const [showSelectPlan, setShowSelectPlan] = useState(
isUpgrade ? true : false
);
*/
const [showSelectPlan, setShowSelectPlan] = useState(true);
// const [showSelectPlan, setShowSelectPlan] = useState(true);
const [activeRadioOption, setActiveRadioOption] = useState("partner");
const [selectedPlan, setSelectedPlan] = useState([signupRadioFields[1]]);
const stripe = new Stripe(stripeApiKey);