From 07f29e272aeb6d94006f5d865932c99c6130a827 Mon Sep 17 00:00:00 2001 From: Serhii Volovyk Date: Wed, 31 Aug 2022 17:33:41 +0300 Subject: [PATCH] cross-contract-call example fixed --- examples/src/cross-contract-call.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/src/cross-contract-call.js b/examples/src/cross-contract-call.js index 06f11e0f5..c99116897 100644 --- a/examples/src/cross-contract-call.js +++ b/examples/src/cross-contract-call.js @@ -2,6 +2,11 @@ import { NearBindgen, call, view, initialize, near, bytes } from 'near-sdk-js' @NearBindgen({ requireInit: true }) class OnCall { + constructor() { + this.personOnCall = '' + this.statusMessageContract = '' + } + @initialize init({ statusMessageContract }) { this.personOnCall = "undefined"