This commit is contained in:
Kenneth Jannette
2024-02-25 12:24:00 -06:00
parent 285637f9ff
commit 37d4284829
4 changed files with 4 additions and 9 deletions

View File

@@ -17,7 +17,7 @@ const AccountPage = () => {
const appUserId = group ? group.appUserId : null; const appUserId = group ? group.appUserId : null;
const [showModal, setShowModal] = useState(false); const [showModal, setShowModal] = useState(false);
const subscriptionPlan = group?.subscriptionPlan[0].label; const subscriptionPlan = group?.subscriptionPlan[0].label;
console.log("subscriptionPlan", subscriptionPlan);
const apiUrl = const apiUrl =
process.env.NODE_ENV === "development" process.env.NODE_ENV === "development"
? process.env.REACT_APP_API_DEV ? process.env.REACT_APP_API_DEV

View File

@@ -589,8 +589,7 @@ const DocEditPage = () => {
fetchedCase?.clientPosition == "Defendant" fetchedCase?.clientPosition == "Defendant"
? fetchedCase?.defendantParties ? fetchedCase?.defendantParties
: fetchedCase?.plaintiffParties; : fetchedCase?.plaintiffParties;
console.log("parsedRogs", parsedRogs);
console.log("responses", responses);
const editingContent = () => { const editingContent = () => {
return ( return (
<> <>

View File

@@ -20,16 +20,14 @@ const Login = () => {
} }
setIsBusy(true); setIsBusy(true);
setNotice(""); setNotice("");
console.log("auth", auth);
console.log("email", email);
console.log("password", password);
try { try {
const userCredential = await signInWithEmailAndPassword( const userCredential = await signInWithEmailAndPassword(
auth, auth,
email, email,
password password
); );
console.log("userCredential", userCredential);
// Signed in // Signed in
userCredential?.user && navigate("/dashboard"); userCredential?.user && navigate("/dashboard");
} catch (error) { } catch (error) {

View File

@@ -88,10 +88,8 @@ const UploadModal = (props) => {
} }
async function uploadFile(file) { async function uploadFile(file) {
console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~radioValue", radioValue);
try { try {
if (radioValue === "complaint") { if (radioValue === "complaint") {
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",
body: file, body: file,