aboutsummaryrefslogtreecommitdiff
path: root/src/pages/Scoreboard
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-03-21 15:44:40 +0300
committereug-vs <eug-vs@keemail.me>2020-03-21 15:44:40 +0300
commit146947a665dbc1d2960d2062a22a106de0c71062 (patch)
tree11f4f4ccf2331e580e2a6f0df5a7e4279c0d5f5e /src/pages/Scoreboard
parent2e9e20414c2ea49d7f40bcff09b89897e13fd2f4 (diff)
downloadchrono-cube-ui-146947a665dbc1d2960d2062a22a106de0c71062.tar.gz
chore: migrate profile page to Typescript :label:
Diffstat (limited to 'src/pages/Scoreboard')
-rw-r--r--src/pages/Scoreboard/Scoreboard.tsx8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/pages/Scoreboard/Scoreboard.tsx b/src/pages/Scoreboard/Scoreboard.tsx
index 9b9ee01..e4185bd 100644
--- a/src/pages/Scoreboard/Scoreboard.tsx
+++ b/src/pages/Scoreboard/Scoreboard.tsx
@@ -3,7 +3,7 @@ import React, { useEffect, useState } from 'react';
import { makeStyles } from '@material-ui/core/styles';
import { Window, SmartList } from 'react-benzin';
-import { Solution } from '../../types';
+import { Solution, RenderPropTypes } from '../../types';
import SolutionCard from '../../components/SolutionCard/SolutionCard';
import Loading from '../../components/Loading/Loading';
@@ -24,12 +24,6 @@ const useStyles = makeStyles(theme => ({
}));
-interface RenderPropTypes {
- index: number;
- style: React.CSSProperties;
-}
-
-
const Scoreboard: React.FC = () => {
const classes = useStyles();
const [solutions, setSolutions] = useState<Solution[]>([]);