Skip to content

Commit

Permalink
format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR committed Nov 16, 2023
1 parent 69dfb20 commit d337397
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/helpers/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import { parseUnits } from '@ethersproject/units';

const networksIds = Object.keys(networks);
const mainnetNetworkIds = Object.keys(networks).filter(
(id) => !networks[id].testnet
id => !networks[id].testnet
);
const testnetNetworkIds = Object.keys(networks).filter(
(id) => networks[id].testnet
id => networks[id].testnet
);

function getErrorMessage(errorObject: ErrorObject): string {
Expand Down Expand Up @@ -99,7 +99,7 @@ export function validateForm(
message: 'must be a valid network used by snapshot'
}
});

ajv.validate(schema, form);

return transformAjvErrors(ajv);
Expand Down

0 comments on commit d337397

Please sign in to comment.