Closed kanoka42 closed 1 month ago
Yeah, that'll do it. angular-eslint has a rule for this, let's enable that and fix every other case. Going to do on top of your branch now as it only takes 5 minutes.
Wouldn't normally do this but want to get this PR in so I can create on directly on top. In the future, you should run
nx format --all
to run Prettier (autoformatter),git commit --amend --noEdit
to jam those changes into your below commit,git push --force-with-lease
to update on remote, rewriting history so we don't have a pointless formatting commit.Avoiding commits like this is one of the benefits of rebase-based workflows in Git, if you refuse to ever rewrite history you inevitably end up with a commit history full of tiny formatting fixes and the like.
This PR addresses and fixes issue #948 by adding the type attribute to the buttons within the leaderboard component.
In Angular, if the button doesn't have a defined attribute type, then Angular may be trying to issue the keyup event and trigger the on click method for the button.
Closes #948