forked from ddrilling/asb_cloud_front
19 lines
465 B
JavaScript
19 lines
465 B
JavaScript
import { memo } from 'react'
|
||
import { Link } from 'react-router-dom'
|
||
|
||
export const AccessDenied = memo(() => (
|
||
<div style={{
|
||
width: '100vw',
|
||
height: '100vh',
|
||
display: 'flex',
|
||
flexDirection: 'column',
|
||
justifyContent: 'center',
|
||
alignItems: 'center'
|
||
}}>
|
||
<h2>Доступ запрещён</h2>
|
||
<Link to={'/login'}>На страницу входа</Link>
|
||
</div>
|
||
))
|
||
|
||
export default AccessDenied
|