Skip to content

Commit 3ff78d2

Browse files
authored
Apply eslint's eqeqeq recommendation (#580)
Avoid using '==' when possible and when compared to input. This fixes 'eqeqeq' error in eslint : https://eslint.org/docs/rules/eqeqeq
1 parent 966c936 commit 3ff78d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stubs/inertia/resources/js/Jetstream/Dropdown.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@
7070
},
7171
7272
alignmentClasses() {
73-
if (this.align == 'left') {
73+
if (this.align === 'left') {
7474
return 'origin-top-left left-0'
75-
} else if (this.align == 'right') {
75+
} else if (this.align === 'right') {
7676
return 'origin-top-right right-0'
7777
} else {
7878
return 'origin-top'

0 commit comments

Comments
 (0)