diff --git a/resources/js/layouts/settings/layout.tsx b/resources/js/layouts/settings/layout.tsx index 579919d9..f6dab15a 100644 --- a/resources/js/layouts/settings/layout.tsx +++ b/resources/js/layouts/settings/layout.tsx @@ -37,6 +37,16 @@ const getNavItems = ( isDemoAccount: boolean, spacesEnabled: boolean, ): (NavItem | NavSectionHeader | NavDivider)[] => [ + ...(spacesEnabled + ? [ + { + type: 'nav-item' as const, + title: 'Spaces', + href: spacesIndex(), + icon: null, + }, + ] + : []), { type: 'nav-item' as const, title: 'Bank accounts', @@ -67,16 +77,6 @@ const getNavItems = ( href: labelsIndex(), icon: null, }, - ...(spacesEnabled - ? [ - { - type: 'nav-item' as const, - title: 'Spaces', - href: spacesIndex(), - icon: null, - }, - ] - : []), { type: 'divider' }, { type: 'section-header',