Modificated structure of admin indentify

This commit is contained in:
2021-10-22 12:19:10 -03:00
parent 3d09def619
commit 28a85f63ec
11 changed files with 9 additions and 7 deletions

View File

@@ -1,18 +0,0 @@
import React from 'react'
import {withRouter} from 'react-router'
const AdminHeader = (props) => {
return (
<header>
<h1>Admin Place</h1>
<button
className="redirect-button"
onClick={() => props.history.push('/')}
>
Back to the Game
</button>
</header>
)
}
export default withRouter(AdminHeader)