fix dev menu

This commit is contained in:
Olivier Gagnon 2021-09-11 01:58:01 -04:00
parent add19d353e
commit 33aeeb7977
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

@ -258,7 +258,7 @@ export function SidebarRoot(props: IProps): React.ReactElement {
{/*<li className="mainmenu-accordion-panel">
<button>Options</button>
</li>*/}
{process.env.NODE_ENV && (
{process.env.NODE_ENV === "development" && (
<li className="mainmenu-accordion-panel">
<button onClick={() => props.engine.loadDevMenuContent()}>Dev</button>
</li>