|
@@ -72,7 +72,7 @@ const Explorer = () => {
|
72
|
72
|
console.log(result);
|
73
|
73
|
return true;
|
74
|
74
|
}}
|
75
|
|
- onSizeUpdated={heightSize => setHeightSize(heightSize)}
|
|
75
|
+ onSizeUpdated={setHeightSize}
|
76
|
76
|
source={{ html: heightHtml }}
|
77
|
77
|
customScript={heightScript}
|
78
|
78
|
onMessage={event => {
|
|
@@ -118,7 +118,7 @@ const Explorer = () => {
|
118
|
118
|
console.log(result);
|
119
|
119
|
return true;
|
120
|
120
|
}}
|
121
|
|
- onSizeUpdated={widthSize => setWidthSize(widthSize)}
|
|
121
|
+ onSizeUpdated={setWidthSize}
|
122
|
122
|
source={{ html: widthHtml }}
|
123
|
123
|
customScript={widthScript}
|
124
|
124
|
/>
|