From f25124c0de2b87718192c45c3c59d51a42b006fd Mon Sep 17 00:00:00 2001 From: ilyayudovin Date: Sun, 7 Jun 2020 00:25:53 +0300 Subject: feat:create initial poll-component --- src/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/index.tsx') diff --git a/src/index.tsx b/src/index.tsx index 9225909..e2d631d 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -7,6 +7,7 @@ import teal from '@material-ui/core/colors/teal'; import 'typeface-roboto'; import Header from './Header/Header'; +import MediaCard from './poll-component/poll-component'; const theme = createMuiTheme({ palette: { @@ -27,7 +28,7 @@ const App: React.FC = () => {
-

Hello, world!

+ ); }; -- cgit v1.2.3 From 709fc75cdf91bcabac41573da5c36fe0cf72f869 Mon Sep 17 00:00:00 2001 From: ilyayudovin Date: Sun, 7 Jun 2020 00:40:37 +0300 Subject: refactor: change names and imports --- src/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/index.tsx') diff --git a/src/index.tsx b/src/index.tsx index e2d631d..0ad62e0 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -7,7 +7,7 @@ import teal from '@material-ui/core/colors/teal'; import 'typeface-roboto'; import Header from './Header/Header'; -import MediaCard from './poll-component/poll-component'; +import PollCard from './PollCard/PollCard'; const theme = createMuiTheme({ palette: { @@ -28,7 +28,7 @@ const App: React.FC = () => {
- + ); }; -- cgit v1.2.3 From 4d3e2f0d19c1957feeebda7f476f4d56b377b86e Mon Sep 17 00:00:00 2001 From: ilyayudovin Date: Sun, 7 Jun 2020 02:58:36 +0300 Subject: fix: fixing all eslint errors --- src/index.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/index.tsx') diff --git a/src/index.tsx b/src/index.tsx index 0ad62e0..b59876b 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -12,13 +12,13 @@ import PollCard from './PollCard/PollCard'; const theme = createMuiTheme({ palette: { primary: { - main: teal[700], + main: teal[700] }, text: { primary: '#000000', - secondary: 'rgba(255, 255, 255, 0.6)', - }, - }, + secondary: 'rgba(255, 255, 255, 0.6)' + } + } }); const App: React.FC = () => { @@ -28,7 +28,7 @@ const App: React.FC = () => {
- + ); }; -- cgit v1.2.3