diff --git a/src/components/login-navigation/login-navigation.tsx b/src/components/login-navigation/login-navigation.tsx index 68593fe..a66e6ad 100644 --- a/src/components/login-navigation/login-navigation.tsx +++ b/src/components/login-navigation/login-navigation.tsx @@ -9,36 +9,35 @@ function HeaderNavigation(): JSX.Element { const favoriteOffers = offers.filter((offer) => offer.isFavorite); const userData = useAppSelector((state) => state.userData); const authorizationStatus = useAppSelector((state) => state.authorizationStatus); + const handleSignOut = () => { + dispatch(logoutAction()); + }; return (