From 146947a665dbc1d2960d2062a22a106de0c71062 Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Sat, 21 Mar 2020 15:44:40 +0300
Subject: chore: migrate profile page to Typescript :label:

---
 src/pages/Scoreboard/Scoreboard.tsx | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

(limited to 'src/pages/Scoreboard/Scoreboard.tsx')

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[]>([]);
-- 
cgit v1.2.3

