refactor phase 3a components chunk 1 targeted actions imports
This commit is contained in:
@@ -6,7 +6,11 @@ import { connect } from "react-redux";
|
||||
import { reduxForm } from "redux-form";
|
||||
|
||||
import { useSession } from "next-auth/react";
|
||||
import { generateRepPDF, sendEmail, uploadRepFiles } from "../../../actions";
|
||||
import {
|
||||
generateRepPDF,
|
||||
uploadRepFiles
|
||||
} from "../../../actions/services/documentService";
|
||||
import { sendEmail } from "../../../actions/services/notifyService";
|
||||
import { formatDates, updateLinks } from "../../../components/utils";
|
||||
import {
|
||||
setRepresentationCapacity,
|
||||
|
||||
@@ -4,7 +4,7 @@ import { useRouter } from "next/router";
|
||||
import { useState } from "react";
|
||||
import { useDropzone } from "react-dropzone";
|
||||
import { connect } from "react-redux";
|
||||
import { generateRepPDF } from "../../../actions";
|
||||
import { generateRepPDF } from "../../../actions/services/documentService";
|
||||
import RepComplete from "./representationComplete";
|
||||
import RepLPAQuestionnaireCheck_enforcement from "./representationQuestionnairesCheck/representationLPAQuestionnaireCheck_enforcement";
|
||||
import RepLPAQuestionnaireCheck_s78 from "./representationQuestionnairesCheck/representationLPAQuestionnaireCheck_s78";
|
||||
|
||||
@@ -6,7 +6,7 @@ import { useEffect, useState } from "react";
|
||||
import { connect } from "react-redux";
|
||||
import transLookup from "../../data/lookuptranslations.json";
|
||||
|
||||
import { getRepresentations } from "../../actions";
|
||||
import { getRepresentations } from "../../actions/services/portalService";
|
||||
import { setRepresentations } from "../../store/searchOutput/action";
|
||||
import { formatDates } from "../utils";
|
||||
|
||||
@@ -63,7 +63,7 @@ const RepresentationList = (props) => {
|
||||
incidentid +
|
||||
"')]",
|
||||
json: item,
|
||||
eval: true,
|
||||
eval: true
|
||||
});
|
||||
detailsObj = item;
|
||||
|
||||
@@ -97,7 +97,7 @@ const RepresentationList = (props) => {
|
||||
] +
|
||||
'")].value_cy',
|
||||
json: transLookup,
|
||||
sanbox: {},
|
||||
sanbox: {}
|
||||
})
|
||||
: detailsObj[
|
||||
"pinswg_isharedocumentlocations@OData.Community.Display.V1.FormattedValue"
|
||||
@@ -216,7 +216,7 @@ const RepresentationList = (props) => {
|
||||
|
||||
const mapStateToProps = (state) => {
|
||||
return {
|
||||
...state,
|
||||
...state
|
||||
};
|
||||
};
|
||||
|
||||
@@ -224,7 +224,7 @@ const mapDispatchToProps = (dispatch) => {
|
||||
return {
|
||||
setRepresentations: (representationObj) => {
|
||||
dispatch(setRepresentations(representationObj));
|
||||
},
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user