From efbe9b633d86581a1c1ae46dd73b8512571e2b4c Mon Sep 17 00:00:00 2001 From: amy Date: Wed, 4 Dec 2024 05:14:29 +0330 Subject: [PATCH] its ugly and im stupid --- src/components/comps.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/comps.tsx b/src/components/comps.tsx index 3ff8fcc..fc0b737 100644 --- a/src/components/comps.tsx +++ b/src/components/comps.tsx @@ -10,7 +10,6 @@ export function AdvancedBr({ count }: { count: number }) { export function SingularOomfie(props: { name: string; url: string; discordid: string }) { const [imageSrc, setImageSrc] = createSignal(""); - const [mousePosition, setMousePosition] = createSignal({ x: 0, y: 0 }); const [showTooltip, setShowTooltip] = createSignal(false); onMount(async () => { @@ -18,8 +17,7 @@ export function SingularOomfie(props: { name: string; url: string; discordid: st setImageSrc(url); }); - const handleMouseMove = (e: MouseEvent) => { - setMousePosition({ x: e.clientX, y: e.clientY }); + const handleMouseMove = () => { setShowTooltip(true); };