Fix PropTypes.oneOfType() warning (#5041)

lolsob-rspec
Nolan Lawson 2017-09-22 08:50:29 -07:00 committed by Eugen Rochko
parent f79569ba99
commit 60c22ed3ac
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import ImmutablePureComponent from 'react-immutable-pure-component';
export default class ColumnLoading extends ImmutablePureComponent { export default class ColumnLoading extends ImmutablePureComponent {
static propTypes = { static propTypes = {
title: PropTypes.oneOfType(PropTypes.node, PropTypes.string), title: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
icon: PropTypes.string, icon: PropTypes.string,
}; };