Refactor filter handling for queries.
This commit is contained in:
@@ -24,7 +24,7 @@ export function PasswordEditForm({ onSave, onClose }) {
|
||||
});
|
||||
};
|
||||
|
||||
const samePassword = (value: string, values: { [key: string]: any }) => {
|
||||
const samePassword = (value: string, values: Record<string, any>) => {
|
||||
if (value !== values.newPassword) {
|
||||
return formatMessage(messages.noMatchPassword);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user