From a7b17c6f460031c8caf0b3f6173b817b4a6cc8fa Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Fri, 3 Jan 2020 22:48:18 +0300 Subject: Remove page name from blank pages. --- src/components/Scoreboard/Scoreboard.js | 5 +++-- src/index.js | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Scoreboard/Scoreboard.js b/src/components/Scoreboard/Scoreboard.js index 5545d19..1235f9a 100644 --- a/src/components/Scoreboard/Scoreboard.js +++ b/src/components/Scoreboard/Scoreboard.js @@ -1,6 +1,6 @@ -import React, {useEffect, useState} from 'react'; +import React, { useEffect, useState } from 'react'; -import { Container } from "@material-ui/core"; +import { Container, Typography } from "@material-ui/core"; import { get } from "../../requests"; import Solution from "./Solution"; @@ -21,6 +21,7 @@ const Scoreboard = () => { return ( + Scoreboard {solutions.map(solution => ())} ); diff --git a/src/index.js b/src/index.js index a397310..e88b342 100644 --- a/src/index.js +++ b/src/index.js @@ -48,7 +48,6 @@ const App = () => {
- This is the {page} page! { getPageComponent(page) } -- cgit v1.2.3