From a0ebe5cd5b9adcad2599621a0b181c94d44bff18 Mon Sep 17 00:00:00 2001 From: Nisha Date: Sat, 21 Oct 2023 01:55:23 +0530 Subject: [PATCH 1/5] solved for issue #2511 --- client/modules/IDE/components/Header/Toolbar.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/modules/IDE/components/Header/Toolbar.jsx b/client/modules/IDE/components/Header/Toolbar.jsx index dc3731cec6..f61f56ed0e 100644 --- a/client/modules/IDE/components/Header/Toolbar.jsx +++ b/client/modules/IDE/components/Header/Toolbar.jsx @@ -87,6 +87,9 @@ const Toolbar = (props) => { checked={autorefresh} onChange={(event) => { dispatch(setAutorefresh(event.target.checked)); + if (event.target.checked) { + dispatch(startSketch()); + } }} />