Skip to content

Commit

Permalink
Merge pull request #8 from gregsantos/huyndo/remove-loader-on-query
Browse files Browse the repository at this point in the history
Remove loader on query
  • Loading branch information
Huy Nguyen authored Nov 17, 2022
2 parents c166e13 + 789b2b1 commit 8f30aa5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmds/q1.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { success, fail } from "../util"
export const LABEL = "Query 1 (no args)"
export const CMD = async () => {
// prettier-ignore
return query({
query({
cadence: `
pub fun main(): Int {
return 7
Expand Down
2 changes: 1 addition & 1 deletion cmds/q2.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { success, fail } from "../util"
export const LABEL = "Query 2 (args)"
export const CMD = async () => {
// prettier-ignore
return query({
query({
cadence: `
pub fun main(a: Int, b: Int): Int {
return a + b
Expand Down

1 comment on commit 8f30aa5

@vercel
Copy link

@vercel vercel bot commented on 8f30aa5 Nov 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.