Skip to content

Commit 88dad71

Browse files
committed
Tiny link fixes (upgrade of the deprecated bits).
1 parent 68de6fc commit 88dad71

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

reactjs/components/01_atoms/ErrorMessage/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Link } from '../../../routes';
55
const ErrorMessage = ({ statusCode }) => (
66
<div className="error-message">
77
Oops, {statusCode} error. <br />
8-
<Link to="/">To the Homepage</Link>
8+
<Link to="/"><a>To the Homepage</a></Link>
99
</div>
1010
);
1111

reactjs/components/02_moleculas/HomeWidgets/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@ const HomeWidgets = () => (
88

99
<Col md={3} xs={6}>
1010
<h4>Dinners to impress</h4>
11-
<Link to="/recipes">List recipes</Link>
11+
<Link to="/recipes"><a>List recipes</a></Link>
1212
</Col>
1313

1414
<Col md={3} xs={6}>
1515
<h4>Learn to cook</h4>
16-
<Link to="/recipes">Recipes for beginners</Link>
16+
<Link to="/recipes"><a>Recipes for beginners</a></Link>
1717
</Col>
1818

1919
<Col md={3} xs={6}>
2020
<h4>Baked up</h4>
21-
<Link to="/recipes">Delicious cake and bakes</Link>
21+
<Link to="/recipes"><a>Delicious cake and bakes</a></Link>
2222
</Col>
2323

2424
<Col md={3} xs={6}>
2525
<h4>Quick and easy</h4>
26-
<Link to="/recipes">20 minutes or less</Link>
26+
<Link to="/recipes"><a>20 minutes or less</a></Link>
2727
</Col>
2828

2929
</Row>

0 commit comments

Comments
 (0)