meowmeowmoeowmeow

This commit is contained in:
amy 2024-09-25 01:02:17 +03:30
parent 40c66e2081
commit 5c52f21c36

View file

@ -2,6 +2,10 @@
import { onCleanup } from "solid-js"; import { onCleanup } from "solid-js";
import { removethething } from "./utils.tsx"; import { removethething } from "./utils.tsx";
function getName(): string{
return Math.random() < 0.2? "EHCO" : "ECHO"
}
function HoverComponent() { function HoverComponent() {
let timerId: number|null; let timerId: number|null;
@ -35,8 +39,7 @@ function HoverComponent() {
onMouseEnter={removethething} onMouseEnter={removethething}
// onMouseLeave={clearTimer} // onMouseLeave={clearTimer}
> >
ECHO {getName()}
{/* {name() ? "ECHO" : "exhq"} */}
</h1> </h1>
); );
} }