import { FC, ReactNode } from '@/imports';
import { ConfigProvider } from 'antd';
import { LocaleProvider as CustomLocaleProvider } from './contexts/LocaleContext';

const App: FC<{ children: ReactNode }> = ({ children }) => {
  return (
    <CustomLocaleProvider>
      <ConfigProvider>
        {children}
      </ConfigProvider>
    </CustomLocaleProvider>
  );
};

export default App;
