mirror of
https://github.com/FranP-code/Hangman-game-with-React.git
synced 2025-10-13 00:42:32 +00:00
Fixes
This commit is contained in:
@@ -35,8 +35,8 @@ function App() {
|
||||
|
||||
<Route path="/credits-page">
|
||||
|
||||
<Credits />
|
||||
<Footer />
|
||||
<Credits />
|
||||
<Footer />
|
||||
|
||||
</Route>
|
||||
|
||||
@@ -54,7 +54,7 @@ function App() {
|
||||
|
||||
</Route>
|
||||
|
||||
<Route path='/demo-admin-place'>
|
||||
<Route path='/admin-place/demo'>
|
||||
|
||||
<DemoControlPanel />
|
||||
|
||||
|
||||
@@ -141,7 +141,7 @@ const Form = () => {
|
||||
: null
|
||||
}
|
||||
<AditionalText text={`Don't remember your password?`} link={'/password-recovery'}/>
|
||||
<AditionalText text={'Admin place demo look'} link={'/demo-admin-place'}/>
|
||||
<AditionalText text={'Admin place demo look'} link={'/admin-place/demo'}/>
|
||||
|
||||
</div>
|
||||
)
|
||||
|
||||
@@ -15,7 +15,11 @@ const AdminHeader = (props) => {
|
||||
Back to the Game
|
||||
</button>
|
||||
|
||||
<AccountPreview />
|
||||
{
|
||||
!props.demo ?
|
||||
<AccountPreview />
|
||||
: null
|
||||
}
|
||||
</header>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user