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