more
This commit is contained in:
@@ -34,7 +34,7 @@ function App() {
|
||||
const { currentUserEmail } = useContext(AuthContext);
|
||||
const { group } = appState;
|
||||
const navigate = useNavigate();
|
||||
console.log("group in App", group);
|
||||
|
||||
// wait for user information
|
||||
if (typeof currentUserEmail === "undefined") {
|
||||
return null;
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user