import React from 'react' import I18N from './i18n' import { ToastProvider } from './base/toast' import { getLocaleOnServer } from '@/i18n/server' export type II18NServerProps = { children: React.ReactNode } const I18NServer = ({ children, }: II18NServerProps) => { const locale = getLocaleOnServer() return ( {children} ) } export default I18NServer