Remove unused vars

This commit is contained in:
Kimmo Puputti 2017-01-19 11:04:26 +02:00
parent 3406722707
commit b185637abb
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
import React, { PropTypes } from 'react';
import { Page } from '../../components';
const EditProfilePage = (props, context) => {
const EditProfilePage = props => {
const { params } = props;
return <Page title={`Edit profile page with display name: ${params.displayName}`} />;
};

View file

@ -26,7 +26,7 @@ const InboxPage = props => {
InboxPage.defaultProps = { filter: 'conversation' };
const { string, oneOf } = PropTypes;
const { oneOf } = PropTypes;
InboxPage.propTypes = { filter: oneOf([ 'orders', 'sales', 'conversation' ]) };