Changeset 8dd3e22 for frontend/src/pages/Nav.tsx
- Timestamp:
- 02/09/26 20:44:24 (5 months ago)
- Branches:
- main
- Children:
- 27660af
- Parents:
- c684a6d
- File:
-
- 1 edited
-
frontend/src/pages/Nav.tsx (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/pages/Nav.tsx
rc684a6d r8dd3e22 22 22 setUser(undefined); 23 23 setIsDropdownOpen(false); 24 toast.success("Logout successful!"); 24 window.location.href = "/"; 25 // toast.success("Logout successful!"); 25 26 } catch (error) { 26 27 console.error("Logout failed:", error); … … 81 82 {!isAuthLoading && ( 82 83 <div className="flex items-center space-x-3"> 84 {user?.isArtist && ( 85 <Link 86 to="/my-songs" 87 className="text-white hover:text-[#1db954] px-4 py-2 text-sm font-medium transition-colors" 88 > 89 My Songs 90 </Link> 91 )} 83 92 {user ? ( 84 93 <div className="relative" ref={dropdownRef}>
Note:
See TracChangeset
for help on using the changeset viewer.
