diff --git a/app/components/Footer.tsx b/app/components/Footer.tsx index 8a29da1..0a08d60 100644 --- a/app/components/Footer.tsx +++ b/app/components/Footer.tsx @@ -1,28 +1,14 @@ "use client"; -import React, { useEffect, useState } from "react"; +import React from "react"; import Link from "next/link"; -import { loginVisibilityState } from "@/jotai/loginVisibility"; -import { useSetAtom } from "jotai"; const Footer = () => { - const [clicksCounter, setClicksCounter] = useState(0); - const setLoginVisibility = useSetAtom(loginVisibilityState); - - useEffect(() => { - if (clicksCounter === 5) { - setLoginVisibility(true); - } - }, [clicksCounter, setLoginVisibility]); - return (