mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 03:25:17 +01:00
Fix PropTypes.oneOfType() warning (#5041)
This commit is contained in:
parent
dd4ef69839
commit
b01ab55ed8
@ -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,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user