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); };