From 63d8c7cfdc941896e54071f2dce2274d1b602245 Mon Sep 17 00:00:00 2001
From: ilyayudovin <ilyayudovin123.@mail.com>
Date: Sun, 7 Jun 2020 19:27:32 +0300
Subject: fix: changing px to spacing

---
 src/Feed/Feed.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/Feed/Feed.tsx')

diff --git a/src/Feed/Feed.tsx b/src/Feed/Feed.tsx
index 03ba6c0..ef82b38 100644
--- a/src/Feed/Feed.tsx
+++ b/src/Feed/Feed.tsx
@@ -7,9 +7,9 @@ interface PropTypes {
   polls: Poll[],
 }
 
-const usedStyles = makeStyles(() => ({
+const usedStyles = makeStyles(theme => ({
   feed: {
-    maxWidth: 600,
+    maxWidth: theme.spacing(75),
     margin: '0 auto'
   }
 }));
-- 
cgit v1.2.3

