Skip to content

Commit

Permalink
export view
Browse files Browse the repository at this point in the history
  • Loading branch information
zamrokk committed Sep 29, 2023
1 parent 144e837 commit 48914ec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion solution/contracts/pokeGame.jsligo
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,6 @@ const init = ([a, ticketCount]: [address, nat], store: storage): return_ => {
};

@view
const feedback = (_: unit, store: storage): string => { return store.feedback };
export const feedback = (_: unit, store: storage): string => {
return store.feedback
};

0 comments on commit 48914ec

Please sign in to comment.