mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-05 06:54:36 +08:00
fix(import export modal): import not working
!nuf
This commit is contained in:
parent
6167506b89
commit
7b86d5c606
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ const modal = new AnimatedModal({
|
|||
modalEl.querySelector("input")?.addEventListener("input", (e) => {
|
||||
state.value = (e.target as HTMLInputElement).value;
|
||||
});
|
||||
modalEl.querySelector("form")?.addEventListener("submit", async (e) => {
|
||||
modalEl?.addEventListener("submit", async (e) => {
|
||||
e.preventDefault();
|
||||
if (state.mode !== "import") return;
|
||||
if (state.value === "") {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue