mirror of
https://github.com/mattermost/focalboard.git
synced 2025-01-17 18:26:17 +02:00
Simplified error page
This commit is contained in:
parent
e43e58c71d
commit
c065067a62
@ -2,23 +2,14 @@
|
||||
// See LICENSE.txt for license information.
|
||||
import React from 'react'
|
||||
|
||||
import {
|
||||
withRouter,
|
||||
RouteComponentProps,
|
||||
} from 'react-router-dom'
|
||||
|
||||
import './errorPage.scss'
|
||||
|
||||
type Props = RouteComponentProps
|
||||
const ErrorPage = React.memo(() => {
|
||||
return (
|
||||
<div className='ErrorPage'>
|
||||
<div className='title'>{'Error'}</div>
|
||||
</div>
|
||||
)
|
||||
})
|
||||
|
||||
class ErrorPage extends React.PureComponent<Props> {
|
||||
render(): React.ReactNode {
|
||||
return (
|
||||
<div className='ErrorPage'>
|
||||
<div className='title'>{'Error'}</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export default withRouter(ErrorPage)
|
||||
export default ErrorPage
|
||||
|
Loading…
x
Reference in New Issue
Block a user