updated the link to t and c
This commit is contained in:
@@ -50,12 +50,12 @@ const MyPortal = (props) => {
|
|||||||
// togglePopup();
|
// togglePopup();
|
||||||
// };
|
// };
|
||||||
|
|
||||||
// const handleLogout = () => {
|
const handleLogout = () => {
|
||||||
// console.log("////////////", "\n", "logout", "\n", "//////////");
|
console.log("////////////", "\n", "logout", "\n", "//////////");
|
||||||
// destroyCookie({}, "pinsUser"),
|
destroyCookie({}, "pinsUser"),
|
||||||
// window.localStorage.clear(),
|
window.localStorage.clear(),
|
||||||
// router.replace(props.ggLogout);
|
router.replace(props.ggLogout);
|
||||||
// };
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
"search-button": "Chwilio",
|
"search-button": "Chwilio",
|
||||||
"submit-and-start": "Cyflwyno a dechrau'r cwrs",
|
"submit-and-start": "Cyflwyno a dechrau'r cwrs",
|
||||||
"footer-terms-conditions-link-label": "Telerau ac amodau",
|
"footer-terms-conditions-link-label": "Telerau ac amodau",
|
||||||
"footer-terms-conditions-link": "https://llyw.cymru/telerau-ac-amodau",
|
"footer-terms-conditions-link": "https://llyw.cymru/gwaith-achos-cynllunio-telerau-ac-amodau",
|
||||||
"footer-privacy-link-label": "Preifatrwydd",
|
"footer-privacy-link-label": "Preifatrwydd",
|
||||||
"footer-privacy-link": "https://llyw.cymru/gwaith-achos-cynllunio-hysbysiad-preifatrwydd",
|
"footer-privacy-link": "https://llyw.cymru/gwaith-achos-cynllunio-hysbysiad-preifatrwydd",
|
||||||
"footer-cookies-link": "Cwcis",
|
"footer-cookies-link": "Cwcis",
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
"search-button": "Search",
|
"search-button": "Search",
|
||||||
"submit-and-start": "Submit and start course",
|
"submit-and-start": "Submit and start course",
|
||||||
"footer-terms-conditions-link-label": "Terms and conditions",
|
"footer-terms-conditions-link-label": "Terms and conditions",
|
||||||
"footer-terms-conditions-link": "https://gov.wales/terms-and-conditions",
|
"footer-terms-conditions-link": "https://gov.wales/planning-casework-terms-and-conditions",
|
||||||
"footer-privacy-link-label": "Privacy",
|
"footer-privacy-link-label": "Privacy",
|
||||||
"footer-privacy-link": "https://gov.wales/planning-casework-privacy-notice",
|
"footer-privacy-link": "https://gov.wales/planning-casework-privacy-notice",
|
||||||
"footer-cookies-link": "Cookies",
|
"footer-cookies-link": "Cookies",
|
||||||
|
|||||||
@@ -88,18 +88,6 @@ const Home = (props) => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
// export const getServerSideProps = wrapper.getServerSideProps(
|
|
||||||
// (store) =>
|
|
||||||
// async ({ query, req, res }) => {
|
|
||||||
// const appealTypeData = await getAppealsTypes();
|
|
||||||
// const lpaData = await getLPA();
|
|
||||||
// console.log("appeal types", appealTypeData);
|
|
||||||
// console.log("lpa typeswwwww", lpaData);
|
|
||||||
// store.dispatch(setAppealType(appealTypeData));
|
|
||||||
// store.dispatch(setLPA(lpaData));
|
|
||||||
// }
|
|
||||||
// );
|
|
||||||
|
|
||||||
const mapStateToProps = (state) => {
|
const mapStateToProps = (state) => {
|
||||||
return {
|
return {
|
||||||
search: state.search,
|
search: state.search,
|
||||||
|
|||||||
@@ -65,18 +65,6 @@ const Home = (props) => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
// export const getServerSideProps = wrapper.getServerSideProps(
|
|
||||||
// (store) =>
|
|
||||||
// async ({ query, req, res }) => {
|
|
||||||
// const appealTypeData = await getAppealsTypes();
|
|
||||||
// const lpaData = await getLPA();
|
|
||||||
// console.log("appeal types", appealTypeData);
|
|
||||||
// console.log("lpa typeswwwww", lpaData);
|
|
||||||
// store.dispatch(setAppealType(appealTypeData));
|
|
||||||
// store.dispatch(setLPA(lpaData));
|
|
||||||
// }
|
|
||||||
// );
|
|
||||||
|
|
||||||
const mapStateToProps = (state) => {
|
const mapStateToProps = (state) => {
|
||||||
return {
|
return {
|
||||||
search: state.search,
|
search: state.search,
|
||||||
|
|||||||
@@ -65,18 +65,6 @@ const Home = (props) => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
// export const getServerSideProps = wrapper.getServerSideProps(
|
|
||||||
// (store) =>
|
|
||||||
// async ({ query, req, res }) => {
|
|
||||||
// const appealTypeData = await getAppealsTypes();
|
|
||||||
// const lpaData = await getLPA();
|
|
||||||
// console.log("appeal types", appealTypeData);
|
|
||||||
// console.log("lpa typeswwwww", lpaData);
|
|
||||||
// store.dispatch(setAppealType(appealTypeData));
|
|
||||||
// store.dispatch(setLPA(lpaData));
|
|
||||||
// }
|
|
||||||
// );
|
|
||||||
|
|
||||||
const mapStateToProps = (state) => {
|
const mapStateToProps = (state) => {
|
||||||
return {
|
return {
|
||||||
search: state.search,
|
search: state.search,
|
||||||
|
|||||||
Reference in New Issue
Block a user