diff --git a/packages/common/src/codegen/render-solidity/renderEnums.ts b/packages/common/src/codegen/render-solidity/renderEnums.ts index 6eec0df37c9..13e8642b401 100644 --- a/packages/common/src/codegen/render-solidity/renderEnums.ts +++ b/packages/common/src/codegen/render-solidity/renderEnums.ts @@ -12,12 +12,14 @@ export function renderEnums(enums: Enums): string { return ` ${renderedSolidityHeader} - ${Object.entries(enums).map( - ([name, values]) => ` - enum ${name} { - ${values.join(", ")} - } - `, - )} + ${Object.entries(enums) + .map( + ([name, values]) => ` + enum ${name} { + ${values.join(", ")} + } + `, + ) + .join("")} `; }