Use prop-types package in withList

This commit is contained in:
Luca Hagel 2018-01-06 07:05:12 +01:00
parent 872ef61b49
commit bf5a67f790

View file

@ -34,7 +34,8 @@ Terms object can have the following properties:
*/
import React, { PropTypes, Component } from 'react';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { withApollo, graphql } from 'react-apollo';
import gql from 'graphql-tag';
import update from 'immutability-helper';