fix linting issues

This commit is contained in:
Jannis R 2016-12-09 00:38:44 +01:00
parent a84cd9143f
commit e536290892
No known key found for this signature in database
GPG Key ID: 0FE83946296A88A5
2 changed files with 2 additions and 7 deletions

View File

@ -16,7 +16,6 @@
import React, { Component, PropTypes } from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import { hashToImageUrl } from '~/redux/providers/imagesReducer';
@ -27,7 +26,8 @@ import styles from './certifications.css';
class Certifications extends Component {
static propTypes = {
account: PropTypes.string.isRequired,
certifications: PropTypes.array.isRequired
certifications: PropTypes.array.isRequired,
dappsUrl: PropTypes.string.isRequired
}
render () {

View File

@ -23,10 +23,6 @@ import Certifications from '~/ui/Certifications';
import styles from './header.css';
export default class Header extends Component {
static contextTypes = {
api: PropTypes.object
};
static propTypes = {
account: PropTypes.object,
balance: PropTypes.object,
@ -40,7 +36,6 @@ export default class Header extends Component {
};
render () {
const { api } = this.context;
const { account, balance, className, children } = this.props;
const { address, meta, uuid } = account;