Skip to content

Commit e15db4d

Browse files
committed
feat(slim/module): add notfound module
1 parent b114aee commit e15db4d

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import React from 'react'
2+
import { withRouter } from 'react-router-dom'
3+
4+
const NotFound = (props) => {
5+
const { history } = props
6+
7+
return (
8+
<section>
9+
<div>
10+
<span></span>
11+
<h1>404 - Page not found</h1>
12+
<Button onClick={() => history.replace('/sign-in')}>Go Back</Button>
13+
</div>
14+
</section>
15+
)
16+
}
17+
18+
export default withRouter(NotFound)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from './NotFound'

0 commit comments

Comments
 (0)