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 }) {
|
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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue