import React from 'react';
import { Outlet } from 'react-router-dom';
import { LocaleProvider } from '@/shared/guest/i18n/LocaleContext';
import { DEFAULT_LOCALE } from '@/shared/guest/i18n/messages';

export default function GuestLocaleLayout() {
  return (
    <LocaleProvider defaultLocale={DEFAULT_LOCALE} storageKey="guestLocale_global">
      <Outlet />
    </LocaleProvider>
  );
}
