]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/components/results/ReportDialog.js
open tournament type
[alttp.git] / resources / js / components / results / ReportDialog.js
index 62adf8491c137ee7b8462254a609c62e59c7db72..b3e528220f8121aa853e8ac684fc78b2595af798 100644 (file)
@@ -8,9 +8,9 @@ import i18n from '../../i18n';
 
 const ReportDialog = ({
        onHide,
-       participant,
        round,
        show,
+       user,
 }) =>
 <Modal className="report-dialog" onHide={onHide} show={show}>
        <Modal.Header closeButton>
@@ -20,20 +20,20 @@ const ReportDialog = ({
        </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);