diff --git a/hacked/App.tsx b/hacked/App.tsx
index f2d44dc..ad1fd4c 100644
--- a/hacked/App.tsx
+++ b/hacked/App.tsx
@@ -5,16 +5,15 @@ export default function App() {
diff --git a/hacked/index.html b/hacked/index.html
index 5cd0978..d849e37 100644
--- a/hacked/index.html
+++ b/hacked/index.html
@@ -4,7 +4,7 @@
- ehco
+ amy hacked
diff --git a/index.html b/index.html
index abcd966..79e8be4 100644
--- a/index.html
+++ b/index.html
@@ -4,7 +4,7 @@
- ehco
+ amy
diff --git a/review/index.html b/review/index.html
index e39f24f..fb35304 100644
--- a/review/index.html
+++ b/review/index.html
@@ -5,7 +5,7 @@
- ehco
+ amy reviews
diff --git a/src/components/name.tsx b/src/components/name.tsx
index 6e13e53..1adc7ac 100644
--- a/src/components/name.tsx
+++ b/src/components/name.tsx
@@ -2,31 +2,17 @@
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;
- // const [name, setname] = createSignal(true)
-
- // const startTimer = () => {
- // timerId = setTimeout(() => {
- // setname(!name())
- // }, 3000);
- // };
-
const clearTimer = () => {
if (timerId) {
clearTimeout(timerId);
timerId = null;
}
};
-
- // const handleMouseEnter = () => {
- // startTimer();
- // };
+
onCleanup(() => {
clearTimer();
@@ -40,10 +26,9 @@ function HoverComponent() {
if (e.target.textContent !== "ECHO") {
e.target.textContent = "ECHO"
}
- }}
- // onMouseLeave={clearTimer}
+ }}
>
- {getName()}
+ Amy
);
}