From b6786f614e9b14715a9c4513ad7c9647c7c8adf1 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Mon, 30 Oct 2017 07:56:51 -0300 Subject: [PATCH] Adding missing props --- .../routes/Community/components/FlaggedAccounts.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/client/coral-admin/src/routes/Community/components/FlaggedAccounts.js b/client/coral-admin/src/routes/Community/components/FlaggedAccounts.js index e617def53..1559b0507 100644 --- a/client/coral-admin/src/routes/Community/components/FlaggedAccounts.js +++ b/client/coral-admin/src/routes/Community/components/FlaggedAccounts.js @@ -1,5 +1,5 @@ import React from 'react'; - +import PropTypes from 'prop-types'; import t from 'coral-framework/services/i18n'; import EmptyCard from 'coral-admin/src/components/EmptyCard'; import LoadMore from '../../../components/LoadMore'; @@ -70,4 +70,15 @@ class FlaggedAccounts extends React.Component { } } +FlaggedAccounts.propTypes = { + users: PropTypes.object, + loadMore: PropTypes.func, + showBanUserDialog: PropTypes.func, + showSuspendUserDialog: PropTypes.func, + showRejectUsernameDialog: PropTypes.func, + approveUser: PropTypes.func, + me: PropTypes.object, + viewUserDetail: PropTypes.func, +}; + export default FlaggedAccounts;