diff --git a/rb_test_client/src/components/Footer.jsx b/rb_test_client/src/components/Footer.jsx
index c9eddf1..50c3e33 100644
--- a/rb_test_client/src/components/Footer.jsx
+++ b/rb_test_client/src/components/Footer.jsx
@@ -25,17 +25,17 @@ function SocialMediaIconsGroup() {
return (
diff --git a/rb_test_client/src/components/Header.jsx b/rb_test_client/src/components/Header.jsx
index bd16087..5cfcbb6 100644
--- a/rb_test_client/src/components/Header.jsx
+++ b/rb_test_client/src/components/Header.jsx
@@ -1,4 +1,4 @@
-import React, { useContext, useEffect, useState } from "react";
+import React, { useContext } from "react";
import { HandySvg } from "handy-svg";
import BookButton from "./modules/BookingButton";
diff --git a/rb_test_client/src/components/Modules/BookingButton.jsx b/rb_test_client/src/components/Modules/BookingButton.jsx
index 68aa307..a02c268 100644
--- a/rb_test_client/src/components/Modules/BookingButton.jsx
+++ b/rb_test_client/src/components/Modules/BookingButton.jsx
@@ -1,5 +1,5 @@
import React, { useCallback } from "react";
-import PopUp, { openPopUp } from "../PopUp";
+import { openPopUp } from "../PopUp";
import DATA from "../../data/components/modules/buttons.json";
@@ -16,7 +16,7 @@ function BookButton(props) {
}
openPopUp();
- }, []);
+ }, [props.inMenu]);
return (