diff --git a/apps/vyper/src/app/utils/compiler.tsx b/apps/vyper/src/app/utils/compiler.tsx index beab5c8661..824c076283 100644 --- a/apps/vyper/src/app/utils/compiler.tsx +++ b/apps/vyper/src/app/utils/compiler.tsx @@ -324,7 +324,7 @@ export async function compileContract(contract: string, compilerUrl: string, set remixClient.changeStatus({ key: 'failed', type: 'error', - title: `1 error occured ${err.message}` + title: `1 error occurred ${err.message}` }) setLoadingSpinnerState && setLoadingSpinnerState(false) diff --git a/libs/remix-debug/src/solidity-decoder/decodeInfo.ts b/libs/remix-debug/src/solidity-decoder/decodeInfo.ts index e137311a34..58884db147 100644 --- a/libs/remix-debug/src/solidity-decoder/decodeInfo.ts +++ b/libs/remix-debug/src/solidity-decoder/decodeInfo.ts @@ -229,7 +229,7 @@ function getEnum (type, stateDefinitions, contractName) { } /** - * retrieve members declared in the given @arg tye + * retrieve members declared in the given @arg type * * @param {String} typeName - name of the struct type (e.g struct ) * @param {Object} stateDefinitions - all state definition given by the AST (including struct and enum type declaration) for all contracts diff --git a/libs/remix-solidity/src/compiler/compiler-abstract.ts b/libs/remix-solidity/src/compiler/compiler-abstract.ts index 52371b1d4f..ecb2af1f0e 100644 --- a/libs/remix-solidity/src/compiler/compiler-abstract.ts +++ b/libs/remix-solidity/src/compiler/compiler-abstract.ts @@ -22,8 +22,8 @@ export class CompilerAbstract { return helper.getContract(name, this.data.contracts) } - visitContracts (calllback) { - return helper.visitContracts(this.data.contracts, calllback) + visitContracts (callback) { + return helper.visitContracts(this.data.contracts, callback) } getData () {