meowmeowmoeowmeow
This commit is contained in:
parent
40c66e2081
commit
5c52f21c36
1 changed files with 5 additions and 2 deletions
|
@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue