diff --git a/app/src/App.tsx b/app/src/App.tsx index 13622f5..a47aee2 100644 --- a/app/src/App.tsx +++ b/app/src/App.tsx @@ -127,7 +127,7 @@ function AppLayout({ children }: { children: React.ReactNode }) { {/* Demais itens (Rolagem horizontal) */}
- {navItems.slice(1).map((item) => { + {navItems.slice(1, -1).map((item) => { const isActive = location.pathname === item.path; const label = t(item.labelKey); return ( @@ -147,6 +147,28 @@ function AppLayout({ children }: { children: React.ReactNode }) { ); })}
+ + {/* PreferĂȘncias (Fixo na direita) */} + {(() => { + const settingsItem = navItems[navItems.length - 1]; + const isActive = location.pathname === settingsItem.path; + const label = t(settingsItem.labelKey); + return ( + +
+ {settingsItem.icon} +
+ {label} + + ); + })()} );