Skip to content

Commit

Permalink
Remove loader on query
Browse files Browse the repository at this point in the history
  • Loading branch information
huyndo committed Nov 16, 2022
1 parent c166e13 commit 789b2b1
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

0 comments on commit 789b2b1

Please sign in to comment.