From 60c22ed3ac6a905b4c01bc02501d8b60dd7a18a2 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Fri, 22 Sep 2017 08:50:29 -0700 Subject: [PATCH] Fix PropTypes.oneOfType() warning (#5041) --- .../mastodon/features/ui/components/column_loading.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/features/ui/components/column_loading.js b/app/javascript/mastodon/features/ui/components/column_loading.js index 4834f00387..9503a7a1ac 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, };