diff --git a/package.json b/package.json index 144ee7c..00be583 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "express": "^4.16.4", "next": "^7.0.2", "react": "^16.6.1", + "react-bootstrap": "^1.0.0-beta.9", "react-dom": "^16.6.1", "react-favicon": "^0.0.14", "react-notify-toast": "^0.5.0", diff --git a/pages/tournament.js b/pages/tournament.js index fcffa8e..5496d38 100644 --- a/pages/tournament.js +++ b/pages/tournament.js @@ -2,11 +2,12 @@ import Head from 'next/head'; import React from 'react'; import {connect} from 'react-redux'; import {Container, ListGroup, ListGroupItem} from 'reactstrap'; +import Navbar from 'react-bootstrap/Navbar'; + import {ErrorPageComponent} from '../js/components/ErrorComponents'; import {Footer} from '../js/components/Footer'; import {TurniereNavigation} from '../js/components/Navigation'; -import {BigImage} from '../js/components/BigImage'; import 'bootstrap/dist/css/bootstrap.min.css'; @@ -18,24 +19,14 @@ import GroupStage from '../js/components/GroupStage'; class PrivateTournamentPage extends React.Component { render() { - const {id, description, isPublic, code, ownerUsername, playoffStages, groupStage} = this.props.tournament; + const {ownerUsername, playoffStages, groupStage} = this.props.tournament; const {isSignedIn, username} = this.props; const isOwner = username === ownerUsername; - // TODO: Change href-prop of the anchor tag to contain the tournament code return (
{description}
-