fix bug introduced in previous commit

This commit is contained in:
Jeremy Kauffman 2017-10-03 17:55:41 -04:00
parent b8980c00d3
commit 948ebe8500

View file

@ -103,7 +103,7 @@ class ModalRouter extends React.PureComponent {
render() {
const { modal, modalProps } = this.props;
switch ("upgrade") {
switch (modal) {
case modals.UPGRADE:
return <ModalUpgrade {...modalProps} />;
case modals.DOWNLOADING: