mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-02-17 05:26:36 +00:00
Use prop-types package instead of React.PropTypes.
This commit is contained in:
parent
024c14610b
commit
bfbd3b2319
@ -1,12 +1,13 @@
|
||||
import React, {Component} from 'react'
|
||||
import {Provider} from 'react-redux'
|
||||
import {Router} from 'react-router'
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
export default class Root extends Component {
|
||||
static propTypes = {
|
||||
store: React.PropTypes.object,
|
||||
history: React.PropTypes.object,
|
||||
routes: React.PropTypes.func
|
||||
store: PropTypes.object,
|
||||
history: PropTypes.object,
|
||||
routes: PropTypes.func
|
||||
};
|
||||
|
||||
authCheck(nextState, replace, callback) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user