mirror of
https://github.com/rjNemo/meal_planner
synced 2026-06-12 05:16:47 +00:00
feat: remove LogOutButton.tsx
This commit is contained in:
parent
c3df2ba713
commit
09b69aeccb
1 changed files with 0 additions and 12 deletions
|
|
@ -1,12 +0,0 @@
|
||||||
import { useAuth0 } from "../utils/auth0-spa";
|
|
||||||
|
|
||||||
export const LogOutButton = () => {
|
|
||||||
const { logout } = useAuth0();
|
|
||||||
const handleClick = () => logout();
|
|
||||||
|
|
||||||
return (
|
|
||||||
<button className="waves-effect waves-teal btn-flat" onClick={handleClick}>
|
|
||||||
Log out
|
|
||||||
</button>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
Loading…
Reference in a new issue