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