We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0b0080 commit e4f3655Copy full SHA for e4f3655
server/client/src/components/Dashboard.js
@@ -1,13 +1,14 @@
1
import React from 'react';
2
+import { Link } from 'react-router-dom';
3
4
const Dashboard = () => {
5
return (
6
<div>
7
Dashboard
8
<div className="fixed-action-btn">
- <a className="btn-floating btn-large red">
9
+ <Link to="/surveys/new" className="btn-floating btn-large red">
10
<i className="material-icons">add</i>
- </a>
11
+ </Link>
12
</div>
13
14
);
0 commit comments