diff --git a/src/features/MainPage/PartnersBlockMain/PartnersBlockMain.component.tsx b/src/features/MainPage/PartnersBlockMain/PartnersBlockMain.component.tsx index ece24ea73..403524f3e 100644 --- a/src/features/MainPage/PartnersBlockMain/PartnersBlockMain.component.tsx +++ b/src/features/MainPage/PartnersBlockMain/PartnersBlockMain.component.tsx @@ -3,12 +3,19 @@ import './PartnersBlockMain.styles.scss'; import PartnersBlock from '@/features/AdditionalPages/PartnersPage/PartnersBlock/PartnersBlock.component'; import Heading from '../Heading/Heading.component'; +import { useNavigate } from 'react-router-dom'; -const PartnersBlockComponent = () => ( -
- - -
-); +const PartnersBlockComponent = () => { + const navigate = useNavigate(); + const handleButtonClick = () => { + navigate('../partners-page'); + }; + return ( +
+ + +
+ ) +}; export default PartnersBlockComponent;