From c34f3b95b9b78840f7c7b871cb46ef000c7a2dda Mon Sep 17 00:00:00 2001
From: Luis Felipe Risch <lfr20@inf.ufpr.br>
Date: Wed, 17 Mar 2021 11:20:26 -0300
Subject: [PATCH] Remove text decoration from Link

---
 src/Components/MaterialCard.js | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/Components/MaterialCard.js b/src/Components/MaterialCard.js
index 33cf3d8d..8f18cd3c 100644
--- a/src/Components/MaterialCard.js
+++ b/src/Components/MaterialCard.js
@@ -72,7 +72,7 @@ export default function MaterialCard(props) {
             <CardActions style={{ borderTop: "1px solid #e5e5e5", justifyContent: "center" }}>
                 {
                     width <= 767 ?
-                        <StyledLink to={`/colecao?colecao=${props.id}`}>
+                        <Link style={{textDecoration : "none"}} to={`/colecao?colecao=${props.id}`}>
                             <Button
                                 color="secondary"
                                 endIcon={<ExpandMoreRoundedIcon />}
@@ -80,7 +80,7 @@ export default function MaterialCard(props) {
 
                                 Ver módulos
                             </Button>
-                        </StyledLink>
+                        </Link>
                         :
                         <Button
                             color="secondary"
@@ -110,8 +110,4 @@ const Title = styled(Typography)`
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
-`
-const StyledLink = styled(Link)`
-	text-decoration: none ;
-	color: inherit ;
 `
\ No newline at end of file
-- 
GitLab