'use client';

import React from 'react';
import { useLanguage } from '@/context/LanguageContext';
import BackToTop from '@/components/BackToTop';

export default function ClientLayout({ children }: { children: React.ReactNode }) {
  const { lang } = useLanguage();

  return (
    <div lang={lang}>
      {children}
      <BackToTop />
    </div>
  );
}
