Fix PropTypes.oneOfType() warning (#5041)

master
Nolan Lawson 7 years ago committed by Eugen Rochko
parent dd4ef69839
commit b01ab55ed8
  1. 2
      app/javascript/mastodon/features/ui/components/column_loading.js

@ -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…
Cancel
Save