import StoreProvider from '@/provider';
import { lightTheme } from '@/theme';
import { ThemeProvider } from '@ctzhian/ui';

import React from 'react';

const Layout = async ({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) => {
  return (
    <ThemeProvider theme={lightTheme}>
      <StoreProvider themeMode={'light'}>{children}</StoreProvider>
    </ThemeProvider>
  );
};

export default Layout;
