Set observable on component (#6033)

This commit is contained in:
Jaco Greeff 2017-07-10 17:38:40 +02:00 committed by Gav Wood
parent 15aebacbe7
commit b49c039f41

View File

@ -14,6 +14,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>. // along with Parity. If not, see <http://www.gnu.org/licenses/>.
import { observer } from 'mobx-react';
import React, { Component, PropTypes } from 'react'; import React, { Component, PropTypes } from 'react';
import { FormattedMessage } from 'react-intl'; import { FormattedMessage } from 'react-intl';
@ -21,6 +22,7 @@ import { Form, Input, InputAddress, QrScan } from '~/ui';
import ChangeVault from '../ChangeVault'; import ChangeVault from '../ChangeVault';
@observer
export default class NewQr extends Component { export default class NewQr extends Component {
static propTypes = { static propTypes = {
createStore: PropTypes.object.isRequired, createStore: PropTypes.object.isRequired,