added path to redirect

This commit is contained in:
2022-10-28 11:52:01 +01:00
parent 5ea23c9849
commit e77a9f9a89
+1 -1
View File
@@ -35,7 +35,7 @@ function Error({ statusCode }, props) {
</p>
<a
href="#"
href={session != null ? "#" : "/"}
className="govuk-link"
onClick={() => {
destroyCookie({}, "pinsUser"),