Fix NotFound compo

This commit is contained in:
soupette 2019-12-16 17:38:19 +01:00
parent e302b210b3
commit 9e64bc095a

View File

@ -17,7 +17,7 @@ function NotFound({ history }) {
onClick={e => {
e.stopPropagation();
history.goBack();
history.push('/');
}}
/>
</Wrapper>
@ -26,7 +26,7 @@ function NotFound({ history }) {
NotFound.propTypes = {
history: PropTypes.shape({
goBack: PropTypes.func,
push: PropTypes.func,
}).isRequired,
};