ClientUpgrade: Fix bad props reference in close action (#1400)
* Fix bad props reference in close action * Change closeAction to use closure
This commit is contained in:
parent
d187399fce
commit
2051e8a086
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ class SelectServer extends PureComponent {
|
|||
navBarButtonColor: theme.sidebarHeaderTextColor
|
||||
},
|
||||
passProps: {
|
||||
closeAction: this.handleLoginOptions,
|
||||
closeAction: () => this.handleLoginOptions(this.props),
|
||||
upgradeType
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue