Changeset 702ca77 for reactapp/src/Components/Logout.js
- Timestamp:
- 08/19/22 19:10:24 (23 months ago)
- Branches:
- main
- Children:
- 6221ab6
- Parents:
- 6eba109
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
reactapp/src/Components/Logout.js
r6eba109 r702ca77 2 2 import AuthApi from "../api/AuthApi"; 3 3 import Cookies from "js-cookie"; 4 import { LogoutButton } from "./Styled/UserDetails.style"; 5 import { Navigate } from "react-router-dom"; 4 6 5 7 function Logout() { … … 11 13 }; 12 14 13 return < button onClick={handleLogout}>Одјави се</button>;15 return <LogoutButton onClick={handleLogout}>Одјави се</LogoutButton>; 14 16 } 15 17
Note:
See TracChangeset
for help on using the changeset viewer.