diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx index 7784072..8de5107 100644 --- a/src/components/Header/index.tsx +++ b/src/components/Header/index.tsx @@ -31,6 +31,10 @@ const Header = () => { history.push('/minute'); }, [history]); + const handleNavigateToUserUpdate = useCallback(() => { + history.push('/user/update'); + }, [history]); + return (
@@ -48,7 +52,9 @@ const Header = () => {
-

{user?.name || 'Nome do usuário'}

+