@gamelearn/arcade-components 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -177,13 +177,14 @@ var KeyboardPuzzleComponent = function KeyboardPuzzleComponent(_ref) {
|
|
|
177
177
|
setPassClass('success');
|
|
178
178
|
setFeedbackResult(true);
|
|
179
179
|
setFeedBackText(info.solution.right.desc);
|
|
180
|
+
setInputPassword(password);
|
|
180
181
|
setFinished(true);
|
|
181
182
|
var rewardsData = [].concat(_toConsumableArray(accRewards), _toConsumableArray(info.resolve.rewards));
|
|
182
183
|
setTimeout(function () {
|
|
183
184
|
closeFeedbackAndShowPoints(rewardsData);
|
|
184
185
|
}, 2000);
|
|
185
186
|
});
|
|
186
|
-
}, [setResolveAction, disableExit, info.solution.right.desc, playSound, info.resolve.rewards, accRewards, closeFeedbackAndShowPoints]);
|
|
187
|
+
}, [setResolveAction, disableExit, info.solution.right.desc, playSound, info.resolve.rewards, accRewards, closeFeedbackAndShowPoints, password]);
|
|
187
188
|
|
|
188
189
|
var handleNumbClick = function handleNumbClick(row, col) {
|
|
189
190
|
var char = keyboard[row][col];
|