Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

Fix language picker showing opposite language on login page

Maurice3fd2410ba6a9
diff --git a/client/src/pages/LoginPage.jsx b/client/src/pages/LoginPage.jsx
index 06a6d051f..c5edb5f82 100644
--- a/client/src/pages/LoginPage.jsx
+++ b/client/src/pages/LoginPage.jsx
@@ -268,7 +268,7 @@ export default function LoginPage() {
onMouseLeave={e => e.currentTarget.style.background = 'rgba(0,0,0,0.06)'}
>
<Globe size={14} />
- {language === 'en' ? 'DE' : 'EN'}
+ {language === 'en' ? 'EN' : 'DE'}
</button>
{/* Left — branding */}