Skip to content

Commit

Permalink
fixes lint errors (#1898)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickzelei committed May 3, 2024
1 parent c33a357 commit 2ca1efe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export default function UserDefinedTransformEmailForm(
const emailConfig = new TransformEmail({
emailType: parseInt(value, 10),
}).toJson();
field.onChange((emailConfig as any).emailType);
field.onChange((emailConfig as any).emailType); // eslint-disable-line @typescript-eslint/no-explicit-any
}}
value={generateEmailTypeStringToEnum(field.value).toString()}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function TransformEmailForm(props: Props): ReactElement {
const { existingConfig, onSubmit, isReadonly } = props;

const emailType =
(existingConfig?.toJson() as any)?.emailType ??
(existingConfig?.toJson() as any)?.emailType ?? // eslint-disable-line @typescript-eslint/no-explicit-any
'GENERATE_EMAIL_TYPE_UUID_V4';
const form = useForm({
mode: 'onChange',
Expand Down Expand Up @@ -147,7 +147,7 @@ export default function TransformEmailForm(props: Props): ReactElement {
const emailConfig = new TransformEmail({
emailType: parseInt(value, 10),
}).toJson();
field.onChange((emailConfig as any).emailType);
field.onChange((emailConfig as any).emailType); // eslint-disable-line @typescript-eslint/no-explicit-any
}}
value={generateEmailTypeStringToEnum(field.value).toString()}
>
Expand Down

0 comments on commit 2ca1efe

Please sign in to comment.