Fix: Language and currency selectors not working
This commit is contained in:
@@ -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}
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user