Skip to content

Commit

Permalink
Fixed eslint rule:
Browse files Browse the repository at this point in the history
- Unexpected empty object pattern  no-empty-pattern
  • Loading branch information
joshsadam committed Jun 17, 2022
1 parent 7630ee0 commit 34b4ac5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function UserChangePasswordForm({ userId }) {
label={i18n("UserChangePasswordForm.form.label.newPassword")}
name="newPassword"
rules={[
({}) => ({
() => ({
validator(_, value) {
return validatePassword(value);
},
Expand Down

0 comments on commit 34b4ac5

Please sign in to comment.