fix bug introduced in previous commit
This commit is contained in:
parent
b8980c00d3
commit
948ebe8500
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class ModalRouter extends React.PureComponent {
|
||||||
render() {
|
render() {
|
||||||
const { modal, modalProps } = this.props;
|
const { modal, modalProps } = this.props;
|
||||||
|
|
||||||
switch ("upgrade") {
|
switch (modal) {
|
||||||
case modals.UPGRADE:
|
case modals.UPGRADE:
|
||||||
return <ModalUpgrade {...modalProps} />;
|
return <ModalUpgrade {...modalProps} />;
|
||||||
case modals.DOWNLOADING:
|
case modals.DOWNLOADING:
|
||||||
|
|
Loading…
Reference in a new issue