You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

layout.tsx 451B

1234567891011121314151617
  1. import type { FC, PropsWithChildren } from 'react'
  2. import WebAppStoreProvider from '@/context/web-app-context'
  3. import Splash from './components/splash'
  4. const Layout: FC<PropsWithChildren> = ({ children }) => {
  5. return (
  6. <div className="h-full min-w-[300px] pb-[env(safe-area-inset-bottom)]">
  7. <WebAppStoreProvider>
  8. <Splash>
  9. {children}
  10. </Splash>
  11. </WebAppStoreProvider>
  12. </div>
  13. )
  14. }
  15. export default Layout