1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-29 05:10:05 +02:00

fix Button not being anchored

This commit is contained in:
Sérgio Ramos 2017-03-23 11:47:11 +00:00
parent faabc8b6d8
commit 528d18f20d
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ const Projects = ({
{empty}
<Row>
<Column xs={12}>
<Button to={`/${org.id}/new-project`}>
<Button to={`/${org.id}/new-project`} rr>
<FormattedMessage id='create-new' />
</Button>
</Column>

View File

@ -167,7 +167,7 @@ const Button = (props) => {
} = props;
const Views = [
() => !to || !href ? StyledButton : null,
() => !to && !href ? StyledButton : null,
() => !rr ? StyledAnchor : null,
() => StyledLink
];