mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-22 20:25:43 +00:00
fix: login grid missing keys
This commit is contained in:
parent
f38b84dc29
commit
01e3a22189
@ -34,7 +34,7 @@ export default function LoginPage() {
|
|||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
const grid = [
|
const grid = [
|
||||||
<Card.Grid style={{width: md ? '100%' : '50%', textAlign: 'center'}} hoverable={false}>
|
<Card.Grid key="form" style={{width: md ? '100%' : '50%', textAlign: 'center'}} hoverable={false}>
|
||||||
{wantRegister ? <RegisterForm/> : <LoginForm ssoLogin={configuration?.ssoLogin}/>}
|
{wantRegister ? <RegisterForm/> : <LoginForm ssoLogin={configuration?.ssoLogin}/>}
|
||||||
{
|
{
|
||||||
configuration?.registerEnabled &&
|
configuration?.registerEnabled &&
|
||||||
@ -47,13 +47,13 @@ export default function LoginPage() {
|
|||||||
</Button>
|
</Button>
|
||||||
}
|
}
|
||||||
</Card.Grid>,
|
</Card.Grid>,
|
||||||
<Card.Grid style={{width: md ? '100%' : '50%'}} hoverable={false}>
|
<Card.Grid key="ads" style={{width: md ? '100%' : '50%'}} hoverable={false}>
|
||||||
<TextPage resource='ads.md'/>
|
<TextPage resource='ads.md'/>
|
||||||
</Card.Grid>
|
</Card.Grid>
|
||||||
];
|
]
|
||||||
|
|
||||||
if (md) {
|
if (md) {
|
||||||
grid.reverse();
|
grid.reverse()
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user