its ugly and im stupid
This commit is contained in:
parent
71b04ea02e
commit
efbe9b633d
1 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue