🔨 fix type issue

This commit is contained in:
platane
2020-10-24 11:55:41 +02:00
parent 4d5abad76e
commit 3e32c45cb6
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ const createForm = ({
form.style.display = "flex";
form.style.flexDirection = "row";
const input = document.createElement("input");
input.addEventListener("input", (e) => onChangeUserName(input.value));
input.addEventListener("input", () => onChangeUserName(input.value));
input.style.padding = "16px";
input.placeholder = "github user";
const submit = document.createElement("button");