aboutsummaryrefslogtreecommitdiff
path: root/app/src/components/Dashboard.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/components/Dashboard.tsx')
-rw-r--r--app/src/components/Dashboard.tsx8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/src/components/Dashboard.tsx b/app/src/components/Dashboard.tsx
index 1b728d1..d2bca9e 100644
--- a/app/src/components/Dashboard.tsx
+++ b/app/src/components/Dashboard.tsx
@@ -1,7 +1,7 @@
import React, { useState, useEffect } from 'react';
import axios from 'axios';
import styles from '../styles/Dashboard.module.css';
-import { useNavigate } from 'react-router-dom';
+import { useNavigate, Link } from 'react-router-dom';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faTrash } from '@fortawesome/free-solid-svg-icons';
import Navbar from './Navbar';
@@ -149,7 +149,11 @@ function Dashboard() {
<tr>
<td colSpan={4}>
<div className={styles.noLinks}>
- You do not have any shortened links - try creating one.
+ You do not have any shortened links -{' '}
+ <Link to="/create" className={styles.noLinksLink}>
+ create one here
+ </Link>
+ .
</div>
</td>
</tr>