mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-18 02:05:36 +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 = [
|
||||
<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}/>}
|
||||
{
|
||||
configuration?.registerEnabled &&
|
||||
@ -47,13 +47,13 @@ export default function LoginPage() {
|
||||
</Button>
|
||||
}
|
||||
</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'/>
|
||||
</Card.Grid>
|
||||
];
|
||||
]
|
||||
|
||||
if (md) {
|
||||
grid.reverse();
|
||||
grid.reverse()
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user