File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ const { ipcRenderer, remote } = require('electron');
22const BrowserWindow = remote . BrowserWindow ;
33
44import React from 'react' ;
5+ import PropTypes from 'prop-types' ;
56import { connect } from 'react-redux' ;
67
78import { loginUser } from '../actions' ;
@@ -86,7 +87,7 @@ export class LoginPage extends React.Component {
8687} ;
8788
8889LoginPage . contextTypes = {
89- router : React . PropTypes . object . isRequired
90+ router : PropTypes . object . isRequired
9091} ;
9192
9293export function mapStateToProps ( state ) {
Original file line number Diff line number Diff line change 11import React from 'react' ;
2+ import PropTypes from 'prop-types' ;
23import { connect } from 'react-redux' ;
34import Modal from 'react-modal' ;
45import { Checkbox , RadioGroup , Radio } from 'react-icheck' ;
@@ -118,11 +119,11 @@ export class SettingsModal extends React.Component {
118119} ;
119120
120121SettingsModal . contextTypes = {
121- router : React . PropTypes . object . isRequired
122+ router : PropTypes . object . isRequired
122123} ;
123124
124125SettingsModal . propTypes = {
125- isOpen : React . PropTypes . bool . isRequired
126+ isOpen : PropTypes . bool . isRequired
126127} ;
127128
128129export function mapStateToProps ( state ) {
You can’t perform that action at this time.
0 commit comments