diff --git a/frontend/src/components/auth/AuthenticationModal.tsx b/frontend/src/components/auth/AuthenticationModal.tsx
deleted file mode 100644
index 26987d22..00000000
--- a/frontend/src/components/auth/AuthenticationModal.tsx
+++ /dev/null
@@ -1,27 +0,0 @@
-import { FaTimes } from "react-icons/fa";
-import { useNavigate } from "react-router-dom";
-import { AuthBlockInner } from "./AuthBlock";
-
-const LogInModal = () => {
- const navigate = useNavigate();
-
- const navigateToPreviousPage = () => {
- navigate(-1);
- };
-
- return (
-
- );
-};
-
-export default LogInModal;
diff --git a/frontend/src/components/auth/RequireAuthentication.tsx b/frontend/src/components/auth/RequireAuthentication.tsx
index 44d8ff08..4e2fc9a9 100644
--- a/frontend/src/components/auth/RequireAuthentication.tsx
+++ b/frontend/src/components/auth/RequireAuthentication.tsx
@@ -1,28 +1,11 @@
-import LogInModal from "components/auth/AuthenticationModal";
import { useAuthentication } from "hooks/useAuth";
import React from "react";
+import AuthBlock from "./AuthBlock";
interface Props {
children: React.ReactNode;
}
-const StaticBackground = () => {
- return (
-
- );
-};
-
const RequireAuthentication = (props: Props) => {
const { children } = props;
const { isAuthenticated } = useAuthentication();
@@ -30,10 +13,11 @@ const RequireAuthentication = (props: Props) => {
return isAuthenticated ? (
<>{children}>
) : (
- <>
-
-
- >
+
);
};