From f85378e53cd7c22f36fa439c868af37f67e27099 Mon Sep 17 00:00:00 2001
From: Parker <contact@pkrm.dev>
Date: Fri, 15 Nov 2024 16:39:47 -0600
Subject: Finish dashboard and link creation

---
 app/src/components/Dashboard.tsx | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'app/src/components/Dashboard.tsx')

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>
-- 
cgit v1.2.3-70-g09d2

