Skip to content

Commit c773568

Browse files
chore: rm old route
1 parent 0b2ad23 commit c773568

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

client/src/components/Header.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ export function Header() {
1818
setIsProfileMenuOpen(!isProfileMenuOpen);
1919
};
2020

21-
// Function to handle navigation to past entries
22-
const handleViewPastEntries = () => {
23-
navigate('/past-entries');
24-
};
25-
2621
const handleViewProfile = () => {
2722
navigate(`/profile/${userObjectId}`);
2823
};
@@ -136,9 +131,6 @@ export function Header() {
136131
<li onClick={handleViewProfile}>
137132
View Profile
138133
</li>
139-
<li onClick={handleViewPastEntries}>
140-
View Past Entries
141-
</li>
142134
<li
143135
onClick={handleLogout}
144136
className="logout-option"

0 commit comments

Comments
 (0)