Lint
Signed-off-by: Stuart Mumford <stuart@cadair.com>
This commit is contained in:
parent
32eb2c13bf
commit
e454d84e9d
3 changed files with 12 additions and 8 deletions
|
@ -73,9 +73,12 @@ export async function startAnyRegistrationFlow(options) {
|
|||
description: _t("You need to login or register to do this."),
|
||||
button: _t("Register"),
|
||||
extraButtons: [
|
||||
<button className="mx_Dialog_primary"
|
||||
onClick={() => {modal.close(); dis.dispatch({action: 'start_login',
|
||||
screenAfterLogin: options.screen_after});}}>
|
||||
<button className="mx_Dialog_primary" key="start_login"
|
||||
onClick={() => {
|
||||
modal.close(); dis.dispatch({action: 'start_login',
|
||||
screenAfterLogin: options.screen_after});
|
||||
}
|
||||
}>
|
||||
{ _t('Login') }
|
||||
</button>,
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue