more
This commit is contained in:
@@ -118,7 +118,7 @@ const DocEditPage = () => {
|
||||
];
|
||||
|
||||
/*
|
||||
* GET docuement (info) from Firebase
|
||||
* GET docuement data from Firebase
|
||||
* */
|
||||
|
||||
useEffect(() => {
|
||||
@@ -142,7 +142,7 @@ const DocEditPage = () => {
|
||||
if (!documentId || !documentType) {
|
||||
return;
|
||||
}
|
||||
// TODO: *BUG* still sometimes gens repsonses after first one, maybe state is not updating
|
||||
// TODO: possible *BUG* sometimes sends network req to gen repsonses after first (maybe state is not updating?)
|
||||
getParsedRequests(documentId, documentType);
|
||||
if (responsesCreated > 0) {
|
||||
getCompletions(documentId)
|
||||
@@ -247,7 +247,7 @@ const DocEditPage = () => {
|
||||
}
|
||||
const docType = String(documentType);
|
||||
let mode;
|
||||
//TODO: remove isRequests var
|
||||
//TODO: remove isRequests var if not goign to use
|
||||
const isRequests = false;
|
||||
console.log(
|
||||
"generateResponsesCombined docmentId docType",
|
||||
|
||||
@@ -114,10 +114,7 @@ const DocumentListPage = ({ perPage }) => {
|
||||
const selectedDoc = allDocs.filter((doc) => {
|
||||
return doc.documentId == selectedDocumentId;
|
||||
});
|
||||
console.log(
|
||||
"selectedDoc[0].responseGenerations",
|
||||
selectedDoc[0].responseGenerations
|
||||
);
|
||||
|
||||
const respGens = selectedDoc[0].responseGenerations;
|
||||
|
||||
try {
|
||||
|
||||
@@ -9,7 +9,7 @@ export const useCases = (userId) => {
|
||||
const queryParams = {
|
||||
userId: userId,
|
||||
};
|
||||
const response = await someEndpoint;
|
||||
const response = "someEndpoint";
|
||||
//return response
|
||||
});
|
||||
};
|
||||
|
||||
@@ -278,6 +278,7 @@ export const DocCard = (props) => {
|
||||
const report = (documentId, docType) => {
|
||||
console.log("report documentId, docType", documentId, docType);
|
||||
};
|
||||
|
||||
const tooltipText =
|
||||
"Parsing is taking a bit longer than usual. This usually resolves within 10 - 15 minutes. If it does not, click “report” and support will address the issue within 24 hours.";
|
||||
const disabled = docType ? false : true;
|
||||
|
||||
Reference in New Issue
Block a user