Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit b273328

Browse files
committed
fixed linter
1 parent 79166b3 commit b273328

File tree

1 file changed

+1
-1
lines changed
  • packages/multieditor/src/validator/resolvers/yup

1 file changed

+1
-1
lines changed

packages/multieditor/src/validator/resolvers/yup/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function yupResolver(schema: Yup.BaseSchema): Validator {
3232
e.message.replace('this', toValidateItemKey)
3333
);
3434
}
35-
for (let err of e.inner) {
35+
for (const err of e.inner) {
3636
editor.setStatus(
3737
toValidateItemKey,
3838
'error',

0 commit comments

Comments
 (0)