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} {empty}
<Row> <Row>
<Column xs={12}> <Column xs={12}>
<Button to={`/${org.id}/new-project`}> <Button to={`/${org.id}/new-project`} rr>
<FormattedMessage id='create-new' /> <FormattedMessage id='create-new' />
</Button> </Button>
</Column> </Column>

View File

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