Skip to content

Commit

Permalink
Some nits.
Browse files Browse the repository at this point in the history
  • Loading branch information
vladilen11 committed Sep 23, 2023
1 parent 0671152 commit b41457c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/common/src/codegen/utils/renderMove/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export function renderStruct(values: ComponentMapType | SingletonType): string {
map = singleValue.type;
}

return `\tpublic fun field_types() : vector<String> {
return `\tpublic fun field_types(): vector<String> {
\t\tvector[string(b"u64")]
\t}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function generateComponent(config: ObeliskConfig, srcPrefix: string) {
// Systems
${getFriendSystem(config.name, config.systems)}
\tpublic fun id() : address {
\tpublic fun id(): address {
\t\tentity_key::from_bytes(b"${capitalizeFirstLetter(componentName)} Comp")
\t}
Expand Down Expand Up @@ -77,7 +77,7 @@ export function generateSingletonComponent(
// Systems
${getFriendSystem(config.name, config.systems)}
\tpublic fun id() : address {
\tpublic fun id(): address {
\t\tentity_key::from_bytes(b"${capitalizeFirstLetter(componentName)} Comp")
\t}
Expand Down

0 comments on commit b41457c

Please sign in to comment.