Fix: Language and currency selectors not working

This commit is contained in:
gpt-engineer-app[bot]
2025-10-11 15:02:57 +00:00
parent f2105a81ee
commit 649a5bd289
6 changed files with 60 additions and 48 deletions

View File

@@ -1,5 +1,7 @@
import React from 'react';
import FrontendStyles from './FrontendStyles';
import CurrencySelector from '@/components/CurrencySelector';
import LanguageSelector from '@/components/LanguageSelector';
interface FrontendLayoutProps {
children: React.ReactNode;
@@ -9,6 +11,10 @@ const FrontendLayout: React.FC<FrontendLayoutProps> = ({ children }) => {
return (
<>
<FrontendStyles />
<div className="fixed top-3 right-3 z-[60] flex items-center gap-2">
<CurrencySelector />
<LanguageSelector />
</div>
{children}
</>
);