🚑 Hotfix build

This commit is contained in:
ajnart
2023-02-11 23:18:48 +09:00
parent b767040760
commit 3e0cf2ded1

View File

@@ -55,7 +55,7 @@ const getItems = () => {
'settings/customization/general', 'settings/customization/general',
'settings/customization/color-selector', 'settings/customization/color-selector',
]); ]);
return [ const items = [
{ {
id: 'layout', id: 'layout',
image: <IconLayout />, image: <IconLayout />,
@@ -113,7 +113,9 @@ const getItems = () => {
</> </>
), ),
}, },
process.env.NODE_ENV === 'development' && { ];
if (process.env.NODE_ENV === 'development') {
items.push({
id: 'dev', id: 'dev',
image: <IconCode />, image: <IconCode />,
label: 'Developer options', label: 'Developer options',
@@ -130,6 +132,7 @@ const getItems = () => {
/> />
</Stack> </Stack>
), ),
}, });
]; }
return items;
}; };