logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: b01ab55ed83faddef4cc5c67ebbe5f72c9cad832
parent: dd4ef69839c78e4220cd821bc3ad369eb6e41fa7
Author: Nolan Lawson <nolan@nolanlawson.com>
Date:   Fri, 22 Sep 2017 08:50:29 -0700

Fix PropTypes.oneOfType() warning (#5041)


Diffstat:

Mapp/javascript/mastodon/features/ui/components/column_loading.js2+-
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 @@ -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, };