Skip to content

Commit f1c27ab

Browse files
🚨 [#4606] Remove unused variable
1 parent dcaf170 commit f1c27ab

File tree

1 file changed

+1
-1
lines changed
  • src/openforms/js/components/admin/forms

1 file changed

+1
-1
lines changed

src/openforms/js/components/admin/forms/Field.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const normalizeErrors = (errors = [], intl) => {
1616

1717
if (error.defaultMessage) return intl.formatMessage(error);
1818

19-
const [key, msg] = error;
19+
const [, msg] = error;
2020
return msg;
2121
});
2222
return [hasErrors, formattedErrors];

0 commit comments

Comments
 (0)