From 44fcb0f44638781e9fefb8de77ca6da075178422 Mon Sep 17 00:00:00 2001 From: Rohit-Mundada Date: Fri, 23 Oct 2020 00:06:35 +0530 Subject: [PATCH] Issue card bug fix --- src/components/Dashboard/Issues.tsx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/components/Dashboard/Issues.tsx b/src/components/Dashboard/Issues.tsx index c02ae21..f61cead 100644 --- a/src/components/Dashboard/Issues.tsx +++ b/src/components/Dashboard/Issues.tsx @@ -32,7 +32,8 @@ const useStyles = makeStyles({ justifyContent: 'center', }, taskButton: { - margin: '1rem 0rem', + width: '100%', + margin: '1rem auto', background: '#0F4C75', color: '#BBE1FA', '&:hover': { @@ -139,7 +140,7 @@ const Issues = () => { return [...oldIsShown, issue.isShown]; }); }); - }, []); + }, [setIsShown]); return (
@@ -187,6 +188,14 @@ const Issues = () => {