const ReportDialog = ({
onHide,
- participant,
round,
show,
+ user,
}) =>
<Modal className="report-dialog" onHide={onHide} show={show}>
<Modal.Header closeButton>
</Modal.Header>
<ReportForm
onCancel={onHide}
- participant={participant}
round={round}
+ user={user}
/>
</Modal>;
ReportDialog.propTypes = {
onHide: PropTypes.func,
- participant: PropTypes.shape({
- }),
round: PropTypes.shape({
}),
show: PropTypes.bool,
tournament: PropTypes.shape({
}),
+ user: PropTypes.shape({
+ }),
};
export default withTranslation()(ReportDialog);