X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Ftournament%2FDetail.js;h=318e67757d395fdc2dce9507dfe955d875e14802;hb=249e06be11d0f7778d99956c87d4f0a8ac7e69f7;hp=84592f6beb1a525a5f2886cf6661600ad2c975ec;hpb=4c5a82cb876e96c72c50e8bc12bd8a43a9afe847;p=alttp.git diff --git a/resources/js/components/tournament/Detail.js b/resources/js/components/tournament/Detail.js index 84592f6..318e677 100644 --- a/resources/js/components/tournament/Detail.js +++ b/resources/js/components/tournament/Detail.js @@ -42,6 +42,7 @@ const getClassName = (tournament, user) => { const Detail = ({ addRound, + moreRounds, tournament, }) => { const { t } = useTranslation(); @@ -111,7 +112,11 @@ const Detail = ({ : null} {tournament.rounds ? - + : null} @@ -120,6 +125,7 @@ const Detail = ({ Detail.propTypes = { addRound: PropTypes.func, + moreRounds: PropTypes.func, tournament: PropTypes.shape({ id: PropTypes.number, participants: PropTypes.arrayOf(PropTypes.shape({