From 747503569130a6ac93be89ca72acd0e9a4d3a26c Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Fri, 3 Jan 2020 22:04:00 +0300 Subject: Uninstall styled-components --- src/components/Timer/Timer.js | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'src/components/Timer/Timer.js') diff --git a/src/components/Timer/Timer.js b/src/components/Timer/Timer.js index 367cce5..1b7dec4 100644 --- a/src/components/Timer/Timer.js +++ b/src/components/Timer/Timer.js @@ -1,6 +1,7 @@ import React, { useState, useEffect } from 'react'; -import styled from 'styled-components'; +import { Typography } from "@material-ui/core"; + import {post} from '../../requests'; const Timer = () => { @@ -56,19 +57,10 @@ const Timer = () => { return ( - - {time} - + {time} ); } -const Root = styled.div` - background-color: skyblue; - padding: 8px; - display: inline-block; - font-size: 32px; - color: pink; -`; export default Timer; -- cgit v1.2.3