From 7b58bbf12b58eeffd7c54f40e617796b52935eb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Bj=C3=B6rk?= Date: Thu, 5 Feb 2026 16:31:03 +0100 Subject: [PATCH] Remove icon buttons --- .../repl/components/button/action-button.jsx | 16 +++------- .../panel/ImportPrebakeScriptButton.jsx | 1 - .../src/repl/components/panel/SettingsTab.jsx | 32 ++++++++----------- 3 files changed, 18 insertions(+), 31 deletions(-) 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} />