From 528d18f20dde134a6b0f7e7b61f7c5c7a719ccb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Thu, 23 Mar 2017 11:47:11 +0000 Subject: [PATCH] fix Button not being anchored --- frontend/src/containers/projects/index.js | 2 +- ui/src/components/button/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/containers/projects/index.js b/frontend/src/containers/projects/index.js index 0f34615c..2da05325 100644 --- a/frontend/src/containers/projects/index.js +++ b/frontend/src/containers/projects/index.js @@ -33,7 +33,7 @@ const Projects = ({ {empty} - diff --git a/ui/src/components/button/index.js b/ui/src/components/button/index.js index efc610e4..9fe53efd 100644 --- a/ui/src/components/button/index.js +++ b/ui/src/components/button/index.js @@ -167,7 +167,7 @@ const Button = (props) => { } = props; const Views = [ - () => !to || !href ? StyledButton : null, + () => !to && !href ? StyledButton : null, () => !rr ? StyledAnchor : null, () => StyledLink ];