From 27f2b9d380ae0e978d627969b79b1a9bb69883e1 Mon Sep 17 00:00:00 2001 From: howard Date: Mon, 26 Apr 2021 00:49:05 -0700 Subject: [PATCH] webpack not cleaning --- src/react/app.jsx | 7 ------- src/react/navBar.jsx | 3 ++- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/react/app.jsx b/src/react/app.jsx index e08eaf2..9a94c00 100644 --- a/src/react/app.jsx +++ b/src/react/app.jsx @@ -11,13 +11,6 @@ import { ToolTip } from './toolTip' import './app.css' -// export async function serial(...args) { -// return (await import('bson')).serialize(...args); -// } - -// export async function deserial(...args) { -// return (await import('bson')).deserialize(...args); -// } let store if (process.env.NODE_ENV === 'production') { diff --git a/src/react/navBar.jsx b/src/react/navBar.jsx index c87fe98..efc542c 100644 --- a/src/react/navBar.jsx +++ b/src/react/navBar.jsx @@ -152,7 +152,8 @@ export const NavBar = () => { }, 'Extrude'], [Icon.Union, () => boolOp('u'), 'Union'], - [Icon.Subtract, () => boolOp('s'), 'Subtract'], + [Icon.Union, () => boolOp('u'), 'Union'], + // [Icon.Subtract, () => boolOp('s'), 'Subtract'], [Icon.Intersect, () => boolOp('i'), 'Intersect'], [MdInsertDriveFile, () => { if (!confirmDiscard()) return