updated err

This commit is contained in:
2021-08-11 14:06:07 +01:00
parent 3161e05a3b
commit c43b0db9e7
2 changed files with 60 additions and 22 deletions
+19 -15
View File
@@ -20,23 +20,27 @@ const Home = (props) => {
const router = useRouter();
const { locale } = router;
return (
<div>
<Head>
<title>Developments of National Significance</title>
</Head>
<div id="page_wrapper">
<CookieBanner />
<Header serviceName="Developments of National Significance" />
<div className="govuk-width-container">
<Banner />
<Main />
try {
return (
<div>
<Head>
<title>Developments of National Significance</title>
</Head>
<div id="page_wrapper">
<CookieBanner />
<Header serviceName="Developments of National Significance" />
<div className="govuk-width-container">
<Banner />
<Main />
</div>
<Footer footerLinks={footerLinks} />
</div>
<Footer footerLinks={footerLinks} />
</div>
</div>
);
);
} catch (e) {
console.log(e);
return <h1>oooops</h1>;
}
};
export default Home; //connect(mapStateToProps)(Home);