Merged PR 942: added path to redirect

added path to redirect

Related work items: #7949
This commit is contained in:
Robert Bond
2022-10-28 10:52:29 +00:00
+1 -1
View File
@@ -35,7 +35,7 @@ function Error({ statusCode }, props) {
</p>
<a
href="#"
href={session != null ? "#" : "/"}
className="govuk-link"
onClick={() => {
destroyCookie({}, "pinsUser"),