Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • frontend/src/pages/Nav.tsx

    r8dd3e22 rdc30259  
    2222                        setUser(undefined);
    2323                        setIsDropdownOpen(false);
    24                         window.location.href = "/";
    25                         // toast.success("Logout successful!");
     24                        toast.success("Logout successful!");
    2625                } catch (error) {
    2726                        console.error("Logout failed:", error);
     
    8281                                {!isAuthLoading && (
    8382                                        <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                                                 )}
    9283                                                {user ? (
    9384                                                        <div className="relative" ref={dropdownRef}>
Note: See TracChangeset for help on using the changeset viewer.