import { VFC } from 'react' ; import { useNavigate } from 'react-router-dom' ; import HomeButton from 'components/molecules/HomeButton' ; const EnhancedHomeButton = ( ) => { const navigate = useNavigate ( ) ; return < HomeButton redirectToHome = { ( ) => navigate ( '/' ) } />; } ; export default EnhancedHomeButton ;