diff --git a/components/Card.tsx b/components/Card.tsx index 7277ac0..8774cfb 100644 --- a/components/Card.tsx +++ b/components/Card.tsx @@ -30,7 +30,7 @@ export function Card( sm:w-48 sm:h-48 w-[37vw] h-[37vw]" > - {!image?.includes("placeholder.svg") && + {!image?.includes("placeholder.svg") && false && ( { - if (!getCookie("session_cookie")) return; - - useEventListener("keydown", (e: KeyboardEvent) => { - if (e?.target?.nodeName == "INPUT") return; - if ( - e.key === "?" && - window.location.search === "" - ) { - window.location.href += "?q="; - } - }, IS_BROWSER ? document?.body : undefined); + if (getCookie("session_cookie")) { + useEventListener("keydown", (e: KeyboardEvent) => { + if (e?.target?.nodeName == "INPUT") return; + if ( + e.key === "?" && + window.location.search === "" + ) { + window.location.href += "?q="; + } + }, IS_BROWSER ? document?.body : undefined); + } return <>; };