Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit d179267

Browse files
committed
Add prop type
1 parent 6eeb91e commit d179267

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/views/dialogs/ConfirmUserActionDialog.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ limitations under the License.
1515
*/
1616

1717
import React from 'react';
18+
import { MatrixClient } from 'matrix-js-sdk';
1819
import sdk from '../../../index';
1920
import { _t } from '../../../languageHandler';
2021
import classnames from 'classnames';
@@ -35,6 +36,8 @@ export default React.createClass({
3536
member: React.PropTypes.object,
3637
// group member object. Supply either this or 'member'
3738
groupMember: GroupMemberType,
39+
// needed if a group member is specified
40+
matrixClient: React.PropTypes.instanceOf(MatrixClient),
3841
action: React.PropTypes.string.isRequired, // eg. 'Ban'
3942
title: React.PropTypes.string.isRequired, // eg. 'Ban this user?'
4043

0 commit comments

Comments
 (0)