From 23f224995a86a4109605567367e13198605aaaf9 Mon Sep 17 00:00:00 2001 From: Tomek Date: Thu, 15 Apr 2021 14:18:44 +0200 Subject: [PATCH] #167 Add winner and change directory of component --- .../src/components/molecules/LabTabs/LabTabs.tsx | 14 +++++++++++--- .../MatchesAndResults/MatchesAndResults.tsx | 0 .../src/components/pages/TourDeFoos/TourDeFoos.tsx | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) rename frontend/src/components/{organisms => pages}/MatchesAndResults/MatchesAndResults.tsx (100%) diff --git a/frontend/src/components/molecules/LabTabs/LabTabs.tsx b/frontend/src/components/molecules/LabTabs/LabTabs.tsx index 9afc8cdf..95aa5df9 100644 --- a/frontend/src/components/molecules/LabTabs/LabTabs.tsx +++ b/frontend/src/components/molecules/LabTabs/LabTabs.tsx @@ -8,7 +8,7 @@ import TabPanel from '@material-ui/lab/TabPanel'; import {Alert, AlertTitle} from "@material-ui/lab"; import {Centered} from "../../atoms/Shared/Centered"; import EmojiEventsIcon from '@material-ui/icons/EmojiEvents'; -import {Typography} from "@material-ui/core"; +import {Box, Tabs, Typography} from "@material-ui/core"; const useStyles = makeStyles((theme: Theme) => ({ root: { @@ -51,10 +51,18 @@ export default function LabTabs() { Zwycięzca + + + + + + - - diff --git a/frontend/src/components/organisms/MatchesAndResults/MatchesAndResults.tsx b/frontend/src/components/pages/MatchesAndResults/MatchesAndResults.tsx similarity index 100% rename from frontend/src/components/organisms/MatchesAndResults/MatchesAndResults.tsx rename to frontend/src/components/pages/MatchesAndResults/MatchesAndResults.tsx diff --git a/frontend/src/components/pages/TourDeFoos/TourDeFoos.tsx b/frontend/src/components/pages/TourDeFoos/TourDeFoos.tsx index 52e007d1..b187848d 100644 --- a/frontend/src/components/pages/TourDeFoos/TourDeFoos.tsx +++ b/frontend/src/components/pages/TourDeFoos/TourDeFoos.tsx @@ -21,7 +21,7 @@ import { } from "../../atoms/constants/routerPaths"; import {MatchesListRoute} from "../Routes/MatchesListRoutes"; import TournamentsList from "../TournamentsList/TournamentsList"; -import {MatchesAndResults} from "../../organisms/MatchesAndResults/MatchesAndResults"; +import {MatchesAndResults} from "../MatchesAndResults/MatchesAndResults"; function TourDeFoos() { return (