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 c3a72d5 commit 7cf588aCopy full SHA for 7cf588a
client/modules/IDE/components/FloatingActionButton.jsx
@@ -51,8 +51,7 @@ const FloatingActionButton = (props) => {
51
if (!isPlaying) {
52
props.syncFileContent();
53
dispatch(startSketch());
54
- }
55
- if (isPlaying) dispatch(stopSketch());
+ } else dispatch(stopSketch());
56
}}
57
>
58
{isPlaying ? <StopIcon /> : <PlayIcon />}
0 commit comments