Skip to content

Commit

Permalink
Merge pull request #792 from centrapay/fix-side-nav
Browse files Browse the repository at this point in the history
πŸ› Fix side nav
  • Loading branch information
MeganSteenkamp authored Oct 4, 2023
2 parents d32a9a8 + 935ec7e commit fe38b85
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/navigation/sideNavConfig.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default [
const navigationItems = [
{
title: 'Reference',
subTitle: 'Learn about core features',
Expand All @@ -18,9 +18,14 @@ export default [
{ title: 'Farmlands' },
]
},
import.meta.env.MODE === 'development' && {
];

if (import.meta.env.MODE === 'development') {
navigationItems.push({
title: 'API',
subTitle: 'For developers',
icon: 'Settings',
},
];
});
}

export default navigationItems;

0 comments on commit fe38b85

Please sign in to comment.