fix Button not being anchored
This commit is contained in:
parent
faabc8b6d8
commit
528d18f20d
@ -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>
|
||||
|
@ -167,7 +167,7 @@ const Button = (props) => {
|
||||
} = props;
|
||||
|
||||
const Views = [
|
||||
() => !to || !href ? StyledButton : null,
|
||||
() => !to && !href ? StyledButton : null,
|
||||
() => !rr ? StyledAnchor : null,
|
||||
() => StyledLink
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user