more
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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 (
|
||||||
<>
|
<>
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user