1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-28 06:48:45 +09:00

Fix PropTypes.oneOfType() warning (#5041)

This commit is contained in:
Nolan Lawson 2017-09-22 08:50:29 -07:00 committed by Eugen Rochko
parent dd4ef69839
commit b01ab55ed8

View File

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