diff --git a/repl/src/App.jsx b/repl/src/App.jsx index fd464d2b..ae55fc78 100644 --- a/repl/src/App.jsx +++ b/repl/src/App.jsx @@ -214,6 +214,19 @@ function App() { <>loading...> )} + { + dirty && activateCode(); + pushLog('Code updated! Tip: You can also update the code by pressing ctrl+enter.'); + }} + className={cx( + 'hover:bg-gray-300', + !isEmbedded ? 'p-2' : 'px-2', + !dirty || !activeCode ? 'opacity-50' : '', + )} + > + 🔄 update + {!isEmbedded && (