From 258a1b262e0bc69630567b937fdea3ee8829f9a5 Mon Sep 17 00:00:00 2001 From: nickofolas Date: Mon, 17 Jan 2022 17:20:38 -0600 Subject: [PATCH] Update options button --- src/ScriptEditor/ui/ScriptEditorRoot.tsx | 36 ++++++++++-------------- 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/src/ScriptEditor/ui/ScriptEditorRoot.tsx b/src/ScriptEditor/ui/ScriptEditorRoot.tsx index 276613a18..c21681b4c 100644 --- a/src/ScriptEditor/ui/ScriptEditorRoot.tsx +++ b/src/ScriptEditor/ui/ScriptEditorRoot.tsx @@ -32,7 +32,6 @@ import Button from "@mui/material/Button"; import Typography from "@mui/material/Typography"; import Link from "@mui/material/Link"; import Box from "@mui/material/Box"; -import IconButton from "@mui/material/IconButton"; import SettingsIcon from "@mui/icons-material/Settings"; import Table from "@mui/material/Table"; import TableCell from "@mui/material/TableCell"; @@ -814,24 +813,11 @@ export function Root(props: IProps): React.ReactElement { > + - setRamInfoOpen(false)}> - - - {ramEntries.map(([n, r]) => ( - - - {n} - {r} - - - ))} - -
-
@@ -845,12 +831,6 @@ export function Root(props: IProps): React.ReactElement { Full - setOptionsOpen(true)}> - <> - - options - -
+ setRamInfoOpen(false)}> + + + {ramEntries.map(([n, r]) => ( + + + {n} + {r} + + + ))} + +
+