diff --git a/website/src/repl/components/button/action-button.jsx b/website/src/repl/components/button/action-button.jsx index 0143e5f90..169aebd4b 100644 --- a/website/src/repl/components/button/action-button.jsx +++ b/website/src/repl/components/button/action-button.jsx @@ -33,23 +33,15 @@ export function IconButton(props) { ); } -export function ActionInput({ Icon, label, className, ...props }) { +export function ActionInput({ label, className, ...props }) { return ( ); } -export function SpecialActionInput({ Icon, className, ...props }) { - return ( - {props.label}} - /> - ); +export function SpecialActionInput({ className, ...props }) { + return {props.label}} />; } diff --git a/website/src/repl/components/panel/ImportPrebakeScriptButton.jsx b/website/src/repl/components/panel/ImportPrebakeScriptButton.jsx index 0feb2fae3..50d62aa11 100644 --- a/website/src/repl/components/panel/ImportPrebakeScriptButton.jsx +++ b/website/src/repl/components/panel/ImportPrebakeScriptButton.jsx @@ -35,7 +35,6 @@ export function ImportPrebakeScriptButton({ updateEditor }) { return ( -
- + { await editorRef.current?.savePrebake(); }} > save - -
- - { - console.log('Exporting'); - await exportScript(prebakeScript); - }} - > - export - -
+ + + { + console.log('Exporting'); + await exportScript(prebakeScript); + }} + > + export + settingsMap.setKey('includePrebakeScriptInShare', cbEvent.target.checked)} value={includePrebakeScriptInShare} />