more
This commit is contained in:
@@ -34,7 +34,7 @@ function App() {
|
|||||||
const { currentUserEmail } = useContext(AuthContext);
|
const { currentUserEmail } = useContext(AuthContext);
|
||||||
const { group } = appState;
|
const { group } = appState;
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
console.log("group in App", group);
|
|
||||||
// wait for user information
|
// wait for user information
|
||||||
if (typeof currentUserEmail === "undefined") {
|
if (typeof currentUserEmail === "undefined") {
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ const UploadModal = (props) => {
|
|||||||
async function uploadFile(file) {
|
async function uploadFile(file) {
|
||||||
console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~radioValue", radioValue);
|
console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~radioValue", radioValue);
|
||||||
try {
|
try {
|
||||||
if (radioValue === "discovery-request") {
|
if (radioValue === "complaint") {
|
||||||
console.log("hit radio if");
|
console.log("hit radio if");
|
||||||
const response = await fetch(`${apiUrl}/v1/gen-disc-request`, {
|
const response = await fetch(`${apiUrl}/v1/gen-disc-request`, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
@@ -214,7 +214,7 @@ const UploadModal = (props) => {
|
|||||||
marginRight: "8px",
|
marginRight: "8px",
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
Selecting "complaint" will automatically begin creation of
|
NOTE: Selecting "complaint" will automatically begin creation of
|
||||||
discovery requests.
|
discovery requests.
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -45,12 +45,12 @@ const SignupPage = () => {
|
|||||||
getFormDataDefaults(paymentfields)
|
getFormDataDefaults(paymentfields)
|
||||||
);
|
);
|
||||||
const [showPaymentModal, setShowPaymentModal] = useState(false);
|
const [showPaymentModal, setShowPaymentModal] = useState(false);
|
||||||
/*
|
|
||||||
const [showSelectPlan, setShowSelectPlan] = useState(
|
const [showSelectPlan, setShowSelectPlan] = useState(
|
||||||
isUpgrade ? true : false
|
isUpgrade ? true : false
|
||||||
);
|
);
|
||||||
*/
|
|
||||||
const [showSelectPlan, setShowSelectPlan] = useState(true);
|
// const [showSelectPlan, setShowSelectPlan] = useState(true);
|
||||||
const [activeRadioOption, setActiveRadioOption] = useState("partner");
|
const [activeRadioOption, setActiveRadioOption] = useState("partner");
|
||||||
const [selectedPlan, setSelectedPlan] = useState([signupRadioFields[1]]);
|
const [selectedPlan, setSelectedPlan] = useState([signupRadioFields[1]]);
|
||||||
const stripe = new Stripe(stripeApiKey);
|
const stripe = new Stripe(stripeApiKey);
|
||||||
|
|||||||
Reference in New Issue
Block a user