about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorNolan Lawson <nolan@nolanlawson.com>2017-09-22 08:50:29 -0700
committerEugen Rochko <eugen@zeonfederated.com>2017-09-22 17:50:29 +0200
commitb01ab55ed83faddef4cc5c67ebbe5f72c9cad832 (patch)
tree6a9299b5de6650fe666b6baebca31c471db1164a /app
parentdd4ef69839c78e4220cd821bc3ad369eb6e41fa7 (diff)
Fix PropTypes.oneOfType() warning (#5041)
Diffstat (limited to 'app')
-rw-r--r--app/javascript/mastodon/features/ui/components/column_loading.js2
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,
   };