We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 793a76d commit b3d7a70Copy full SHA for b3d7a70
client/modules/IDE/components/PreviewFrame.jsx
@@ -377,20 +377,17 @@ const mapStateToProps = state => ({
377
});
378
379
380
-const mapDispatchToProps = dispatch => bindActionCreators(
381
- Object.assign(
382
- {},
383
- stopSketch,
384
- expandConsole,
385
- endSketchRefresh,
386
- setTextOutput,
387
- setGridOutput,
388
- setSoundOutput,
389
- setBlobUrl,
390
- clearConsole,
391
- dispatchConsoleEvent,
392
- ),
393
- dispatch
394
-);
+const mapDispatchToProps = {
+ stopSketch,
+ expandConsole,
+ endSketchRefresh,
+ setTextOutput,
+ setGridOutput,
+ setSoundOutput,
+ setBlobUrl,
+ clearConsole,
+ dispatchConsoleEvent
+};
+
395
396
export default (connect(mapStateToProps, mapDispatchToProps)(PreviewFrame));
0 commit comments