Logout functionality
This commit is contained in:
parent
200da51633
commit
24e7e68ea0
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ function Header({ username }: { username: string }): JSX.Element {
|
|||
const [isOpen, setIsOpen] = useState(false);
|
||||
|
||||
const handleLogout = (): void => {
|
||||
// Add any logout logic here
|
||||
localStorage.clear();
|
||||
};
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in a new issue