diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-12-08 12:04:25 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-12-08 12:04:25 +0100 |
| commit | b9bb62cf0c2af848bf02e2a74d9bd109ef570010 (patch) | |
| tree | 9300e05dca96a39a06e8a38bf7ee91dcd7ec77ea /src/frontend/app/components/layout/NavBar.tsx | |
| parent | 107295575e3a7c37911ae192baf426b0003975a4 (diff) | |
Update formatting
Diffstat (limited to 'src/frontend/app/components/layout/NavBar.tsx')
| -rw-r--r-- | src/frontend/app/components/layout/NavBar.tsx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/frontend/app/components/layout/NavBar.tsx b/src/frontend/app/components/layout/NavBar.tsx index 0ac6a71..40591c4 100644 --- a/src/frontend/app/components/layout/NavBar.tsx +++ b/src/frontend/app/components/layout/NavBar.tsx @@ -57,7 +57,7 @@ export default function NavBar({ orientation = "horizontal" }: NavBarProps) { updateMapState(coords, 16); } }, - () => { }, + () => {}, { enableHighAccuracy: false, maximumAge: 5 * 60 * 1000, @@ -70,13 +70,14 @@ export default function NavBar({ orientation = "horizontal" }: NavBarProps) { name: t("navbar.lines", "LĂneas"), icon: Route, path: "/lines", - } + }, ]; return ( <nav - className={`${styles.navBar} ${orientation === "vertical" ? styles.vertical : "" - }`} + className={`${styles.navBar} ${ + orientation === "vertical" ? styles.vertical : "" + }`} > {navItems.map((item) => { const Icon = item.icon; |
