Skip to content

Commit

Permalink
remove unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
aalves08 committed Feb 26, 2025
1 parent d6ac060 commit 3f66866
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export default defineComponent({
* Keyboard left/right event listener to select next/previous option. Emits
* the input event.
*/
clickNext(ev: Event, direction: number): void {
clickNext(direction: number): void {
// moving focus away from a custom group element and pressing arrow keys
// should not have any effect on the group - custom UI for radiogroup option(s)
if (this.currFocusedElem !== this.$refs?.radioGroup) {
Expand Down Expand Up @@ -236,8 +236,8 @@ export default defineComponent({
class="radio-group"
:class="{'row':row}"
tabindex="0"
@keydown.down.prevent.stop="clickNext($event, 1)"
@keydown.up.prevent.stop="clickNext($event, -1)"
@keydown.down.prevent.stop="clickNext(1)"
@keydown.up.prevent.stop="clickNext(-1)"
@keydown.space.enter.stop.prevent
>
<div
Expand Down

0 comments on commit 3f66866

Please sign in to comment.