its ugly and im stupid

This commit is contained in:
amy 2024-12-04 05:14:29 +03:30
parent 71b04ea02e
commit efbe9b633d
No known key found for this signature in database

View file

@ -10,7 +10,6 @@ export function AdvancedBr({ count }: { count: number }) {
export function SingularOomfie(props: { name: string; url: string; discordid: string }) { export function SingularOomfie(props: { name: string; url: string; discordid: string }) {
const [imageSrc, setImageSrc] = createSignal(""); const [imageSrc, setImageSrc] = createSignal("");
const [mousePosition, setMousePosition] = createSignal({ x: 0, y: 0 });
const [showTooltip, setShowTooltip] = createSignal(false); const [showTooltip, setShowTooltip] = createSignal(false);
onMount(async () => { onMount(async () => {
@ -18,8 +17,7 @@ export function SingularOomfie(props: { name: string; url: string; discordid: st
setImageSrc(url); setImageSrc(url);
}); });
const handleMouseMove = (e: MouseEvent) => { const handleMouseMove = () => {
setMousePosition({ x: e.clientX, y: e.clientY });
setShowTooltip(true); setShowTooltip(true);
}; };