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 [showModal, setShowModal] = useState(false);
const subscriptionPlan = group?.subscriptionPlan[0].label;
console.log("subscriptionPlan", subscriptionPlan);
const apiUrl =
process.env.NODE_ENV === "development"
? process.env.REACT_APP_API_DEV

View File

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

View File

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

View File

@@ -88,10 +88,8 @@ const UploadModal = (props) => {
}
async function uploadFile(file) {
console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~radioValue", radioValue);
try {
if (radioValue === "complaint") {
console.log("hit radio if");
const response = await fetch(`${apiUrl}/v1/gen-disc-request`, {
method: "POST",
body: file,