diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx
index a097fee..ce08ecd 100644
--- a/src/components/Footer.jsx
+++ b/src/components/Footer.jsx
@@ -2,29 +2,16 @@ import React, { Component } from 'react';
import './Footer.scss';
import SubscribeButton from "../components/SubscribeButton"
import FeedbackButtons from "../components/FeedbackButtons"
+import { useLocation } from "@reach/router";
-class Footer extends Component {
- constructor(props) {
- super(props);
-
- this.state = {
- pathRoute: ''
- };
- }
-
- componentDidMount() {
- this.setState({
- pathRoute: window.location.pathname.slice(0, -1),
- });
- }
-
- render() {
- const { pathRoute } = this.state;
- return (
- <>
-