Merge pull request #2630 from matrix-org/dbkr/fix_register_email_link
Fix registration after clicking email link
This commit is contained in:
@@ -90,7 +90,11 @@ export default class ServerTypeSelector extends React.PureComponent {
|
||||
selected: type,
|
||||
};
|
||||
if (onChange) {
|
||||
onChange(type);
|
||||
// FIXME: Supply a second 'initial' param here to flag that this is
|
||||
// initialising the value rather than from user interaction
|
||||
// (which sometimes we'll want to ignore). Must be a better way
|
||||
// to do this.
|
||||
onChange(type, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user