build warning clean up
This commit is contained in:
@@ -289,7 +289,6 @@ export const RenderTextfield = ({
|
|||||||
name={name}
|
name={name}
|
||||||
id={id}
|
id={id}
|
||||||
type={type}
|
type={type}
|
||||||
validate={[required]}
|
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -38,7 +38,8 @@ const Home = (props) => {
|
|||||||
|
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
|
|
||||||
useEffect(async () => {
|
useEffect(() => {
|
||||||
|
const updateAccountStore = async () => {
|
||||||
const thisSession = await getSession();
|
const thisSession = await getSession();
|
||||||
|
|
||||||
if (thisSession) {
|
if (thisSession) {
|
||||||
@@ -48,13 +49,17 @@ const Home = (props) => {
|
|||||||
|
|
||||||
dispatch(
|
dispatch(
|
||||||
setAccountDetails(
|
setAccountDetails(
|
||||||
await getPersonalAccount(loggedInUser.value[0].contactid)
|
await getPersonalAccount(
|
||||||
|
loggedInUser.value[0].contactid
|
||||||
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
dispatch(setContainerID(thisSession.user.id));
|
dispatch(setContainerID(thisSession.user.id));
|
||||||
|
|
||||||
//dispatch(setRepresentationSubmit(true));
|
//dispatch(setRepresentationSubmit(true));
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
updateAccountStore();
|
||||||
}, [dispatch]);
|
}, [dispatch]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user