Skip to content

KeyCode is deprecated #59

@stephanemalho

Description

@stephanemalho

to fix the eslint warning we can use:

form.addEventListener("submit", handleSubmit); form.addEventListener("keyup", (e) => { if (e.key === "Enter") { handleSubmit(e); } });

instead of keyCode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions