diff options
author | Nolan Lawson <nolan@nolanlawson.com> | 2017-09-22 08:50:29 -0700 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-09-22 17:50:29 +0200 |
commit | b01ab55ed83faddef4cc5c67ebbe5f72c9cad832 (patch) | |
tree | 6a9299b5de6650fe666b6baebca31c471db1164a /app | |
parent | dd4ef69839c78e4220cd821bc3ad369eb6e41fa7 (diff) |
Fix PropTypes.oneOfType() warning (#5041)
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/mastodon/features/ui/components/column_loading.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/ui/components/column_loading.js b/app/javascript/mastodon/features/ui/components/column_loading.js index 4834f0038..9503a7a1a 100644 --- a/app/javascript/mastodon/features/ui/components/column_loading.js +++ b/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, }; |