Ignore:
Timestamp:
01/27/26 15:56:00 (6 months ago)
Author:
Dimitar Arsov <dimitararsov04@…>
Branches:
main
Children:
6de2873
Parents:
77e572b (diff), 16aed54 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'main' into follow-user

File:
1 edited

Legend:

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

    r77e572b rc1d2f07  
    11import { Link } from "react-router-dom";
     2import { toast } from "react-toastify";
    23import axiosInstance, { baseURL } from "../api/axiosInstance";
    34import Logo from "../assets/logo-finkwave.png";
     
    1213                        await axiosInstance.post("/auth/logout");
    1314                        setUser(undefined);
     15                        toast.success("Logout successful!");
    1416                } catch (error) {
    1517                        console.error("Logout failed:", error);
     18                        toast.error("Logout failed!");
    1619                }
    1720        };
Note: See TracChangeset for help on using the changeset viewer.