diff --git a/src/components/footer/index.jsx b/src/components/footer/index.jsx index 5cc0c28fd49..47b1ade0eb2 100644 --- a/src/components/footer/index.jsx +++ b/src/components/footer/index.jsx @@ -1,5 +1,6 @@ import { Link } from "react-router-dom"; import { Divider, Button, Space } from "antd"; +import { useNavigate } from "react-router-dom"; import { GithubOutlined, SlackOutlined, @@ -11,6 +12,7 @@ import "./index.scss"; const Footer = () => { const { locale, t } = useTranslation(); + const navigate = useNavigate(); return (