Logout functionality

This commit is contained in:
Peter KW 2024-03-18 00:41:46 +01:00
parent 200da51633
commit 24e7e68ea0

View file

@ -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 (