Changeset c1d2f07 for frontend/src/pages/Nav.tsx
- Timestamp:
- 01/27/26 15:56:00 (6 months ago)
- 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. - File:
-
- 1 edited
-
frontend/src/pages/Nav.tsx (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/pages/Nav.tsx
r77e572b rc1d2f07 1 1 import { Link } from "react-router-dom"; 2 import { toast } from "react-toastify"; 2 3 import axiosInstance, { baseURL } from "../api/axiosInstance"; 3 4 import Logo from "../assets/logo-finkwave.png"; … … 12 13 await axiosInstance.post("/auth/logout"); 13 14 setUser(undefined); 15 toast.success("Logout successful!"); 14 16 } catch (error) { 15 17 console.error("Logout failed:", error); 18 toast.error("Logout failed!"); 16 19 } 17 20 };
Note:
See TracChangeset
for help on using the changeset viewer.
