Skip to content

Commit

Permalink
#167 Add results view
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszdworniczak committed Apr 15, 2021
1 parent 3716666 commit 506f845
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontend/src/components/pages/TourDeFoos/TourDeFoos.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {StyledBackground} from "../../atoms/Background/StyledBackground";
import {
PATH_FOR_CREATING_NEW_TOURNAMENT_VIEW,
PATH_FOR_HOME_VIEW,
PATH_FOR_LOGIN_VIEW,
PATH_FOR_LOGIN_VIEW, PATH_FOR_MATCHES_AND_RESULTS,
PATH_FOR_PLAYER_MATCHES_VIEW,
PATH_FOR_PLAYER_PROFILE_CREATION_VIEW,
PATH_FOR_PLAYERS_PROFILES_VIEW,
Expand All @@ -21,6 +21,7 @@ import {
} from "../../atoms/constants/routerPaths";
import {MatchesListRoute} from "../Routes/MatchesListRoutes";
import TournamentsList from "../TournamentsList/TournamentsList";
import {MatchesAndResults} from "../../organisms/MatchesAndResults/MatchesAndResults";

function TourDeFoos() {
return (
Expand Down Expand Up @@ -66,6 +67,9 @@ function TourDeFoos() {
<MatchesListRoute />
</Centered>
</Route>
<Route path={PATH_FOR_MATCHES_AND_RESULTS} exact>
<MatchesAndResults tournamentId={'asd'}/>
</Route>

<Route path={PATH_FOR_HOME_VIEW} exact>
<HomeMenu />
Expand Down

0 comments on commit 506f845

Please sign in to comment.