aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEug-VS <eug-vs@keemail.me>2020-01-03 22:04:00 +0300
committerEug-VS <eug-vs@keemail.me>2020-01-03 22:04:00 +0300
commit747503569130a6ac93be89ca72acd0e9a4d3a26c (patch)
tree2a8b0dac18b45b57c456ce089554cff098f0713c /src
parent15cf186e8b5ef25188df92be18d421a486033ee2 (diff)
downloadchrono-cube-ui-747503569130a6ac93be89ca72acd0e9a4d3a26c.tar.gz
Uninstall styled-components
Diffstat (limited to 'src')
-rw-r--r--src/components/Header/Header.js1
-rw-r--r--src/components/Timer/Timer.js14
2 files changed, 3 insertions, 12 deletions
diff --git a/src/components/Header/Header.js b/src/components/Header/Header.js
index caa30a0..1c4e77d 100644
--- a/src/components/Header/Header.js
+++ b/src/components/Header/Header.js
@@ -5,7 +5,6 @@ import {
Tab,
Typography
} from "@material-ui/core";
-import styled from 'styled-components';
import { makeStyles } from '@material-ui/core/styles';
const useStyles = makeStyles(theme => ({
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 (
- <Root>
- <span>{time}</ span>
- </Root>
+ <Typography variant="h2"> {time} </Typography>
);
}
-const Root = styled.div`
- background-color: skyblue;
- padding: 8px;
- display: inline-block;
- font-size: 32px;
- color: pink;
-`;
export default Timer;