This commit is contained in:
Kenneth Jannette
2024-02-24 01:19:28 -06:00
parent c194f23ebd
commit 85b12b17e0
5 changed files with 28 additions and 10 deletions

View File

@@ -30,6 +30,7 @@ const Dashboard = () => {
const { group } = appState;
const appUserId = group ? group.appUserId : null;
const isDashboard = true;
useEffect(() => {
if (count.current == null) {
setIsMobile(window.innerWidth < 440);

View File

@@ -20,12 +20,16 @@ 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

@@ -173,17 +173,26 @@ const UploadModal = (props) => {
<Modal.Body>
<div className="modal-header-text-wrapper">
<p className="upload-modal-header-text">
Select a document in pdf format for upload. Enter the document title
below. Document description is optional.
Select a .pdf file for upload. Enter title and choose document type.
(the other fields are optional.)
</p>
<p className="upload-modal-header-text">
This document will be associated with {caption} v. {captionTwo}
Select the document type.{" "}
<span className="upload-header-bold">
Selecting "complaint" will automatically begin creation of
discovery requests.
</span>
</p>
<p className="upload-modal-header-text">
The document will be associated with{" "}
<em>
{caption} v. {captionTwo}
</em>
{caseNumber ? `, ${caseNumber}` : ""}.
</p>
<p className="upload-modal-header-text">
If that is not the case you want to associate with this document,
click "cancel", go back and select the intended case from your
active case list.
If that is not the correct case: click cancel to go back and select
the intended case from your active cases.
</p>
</div>
<Form>