fix linting issues
This commit is contained in:
parent
a84cd9143f
commit
e536290892
@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
import React, { Component, PropTypes } from 'react';
|
import React, { Component, PropTypes } from 'react';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { bindActionCreators } from 'redux';
|
|
||||||
|
|
||||||
import { hashToImageUrl } from '~/redux/providers/imagesReducer';
|
import { hashToImageUrl } from '~/redux/providers/imagesReducer';
|
||||||
|
|
||||||
@ -27,7 +26,8 @@ import styles from './certifications.css';
|
|||||||
class Certifications extends Component {
|
class Certifications extends Component {
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
account: PropTypes.string.isRequired,
|
account: PropTypes.string.isRequired,
|
||||||
certifications: PropTypes.array.isRequired
|
certifications: PropTypes.array.isRequired,
|
||||||
|
dappsUrl: PropTypes.string.isRequired
|
||||||
}
|
}
|
||||||
|
|
||||||
render () {
|
render () {
|
||||||
|
@ -23,10 +23,6 @@ import Certifications from '~/ui/Certifications';
|
|||||||
import styles from './header.css';
|
import styles from './header.css';
|
||||||
|
|
||||||
export default class Header extends Component {
|
export default class Header extends Component {
|
||||||
static contextTypes = {
|
|
||||||
api: PropTypes.object
|
|
||||||
};
|
|
||||||
|
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
account: PropTypes.object,
|
account: PropTypes.object,
|
||||||
balance: PropTypes.object,
|
balance: PropTypes.object,
|
||||||
@ -40,7 +36,6 @@ export default class Header extends Component {
|
|||||||
};
|
};
|
||||||
|
|
||||||
render () {
|
render () {
|
||||||
const { api } = this.context;
|
|
||||||
const { account, balance, className, children } = this.props;
|
const { account, balance, className, children } = this.props;
|
||||||
const { address, meta, uuid } = account;
|
const { address, meta, uuid } = account;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user