From c0f59a9645b8cd38d4ebff67fe81a9016e768c3d Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Mon, 13 Jan 2025 17:04:47 +0000 Subject: [PATCH] client side warnings removed --- components/myportal/advancedsearch.js | 5 +---- components/myportal/myrepresentations.js | 1 - components/myportal/myrepresentationsfromblob.js | 1 - components/myportal/searchcases.js | 1 - 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/components/myportal/advancedsearch.js b/components/myportal/advancedsearch.js index 9f4bb353..a446ca75 100644 --- a/components/myportal/advancedsearch.js +++ b/components/myportal/advancedsearch.js @@ -306,10 +306,7 @@ let AdvancedSearch = (props) => { (router.locale == "cy" ? "/fymhorth/canlyniadauchwiliouwch" : "/myportal/advancedsearchresults") + searchString, - null, - { - shallow: true, - } + null ); }; diff --git a/components/myportal/myrepresentations.js b/components/myportal/myrepresentations.js index f1c0d905..54d2f555 100644 --- a/components/myportal/myrepresentations.js +++ b/components/myportal/myrepresentations.js @@ -40,7 +40,6 @@ const MyRepresentations = (props) => { "/fymhorth/gweldpopeth" : "/myportal/viewall" } - shallow className="govuk-link--no-underline" onClick={() => { setCurrentView({ diff --git a/components/myportal/myrepresentationsfromblob.js b/components/myportal/myrepresentationsfromblob.js index 85ac28ea..4035c5fa 100644 --- a/components/myportal/myrepresentationsfromblob.js +++ b/components/myportal/myrepresentationsfromblob.js @@ -39,7 +39,6 @@ const MyRepresentations = (props) => { "/fymhorth/gweldpopeth" : "/myportal/viewall" } - shallow className="govuk-link--no-underline" onClick={() => { setCurrentView({ diff --git a/components/myportal/searchcases.js b/components/myportal/searchcases.js index f815e59b..f7167d30 100644 --- a/components/myportal/searchcases.js +++ b/components/myportal/searchcases.js @@ -98,7 +98,6 @@ let CaseSearch = (props) => { ? "/fymhorth/canlyniadauchwilio" : "/myportal/searchresults", query: { q: values.basicSearch }, - shallow: true, }); } };