🧹use <Link /> instead of <a />
This commit is contained in:
parent
7dc10ab682
commit
cdf11971c4
1 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,6 @@ import PropTypes from 'prop-types';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import { Link } from 'react-router';
|
import { Link } from 'react-router';
|
||||||
|
|
||||||
import Editor from '../components/Editor';
|
|
||||||
import { prop, remSize } from '../../../theme';
|
import { prop, remSize } from '../../../theme';
|
||||||
|
|
||||||
const background = prop('Button.default.background');
|
const background = prop('Button.default.background');
|
||||||
|
@ -41,7 +40,7 @@ export default () => (
|
||||||
|
|
||||||
<h3>
|
<h3>
|
||||||
<br />This page is under construction.
|
<br />This page is under construction.
|
||||||
<br /><a href="/">Click here</a> to return to the regular editor
|
<br /><Link to="/">Click here</Link> to return to the regular editor
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<Footer><h1>Bottom Bar</h1></Footer>
|
<Footer><h1>Bottom Bar</h1></Footer>
|
||||||
|
|
Loading…
Reference in a new issue