dify/web/app/(shareLayout)/layout.tsx

18 lines
451 B
TypeScript
Raw Normal View History

2025-07-17 10:52:10 +08:00
import type { FC, PropsWithChildren } from 'react'
import WebAppStoreProvider from '@/context/web-app-context'
import Splash from './components/splash'
2025-07-17 10:52:10 +08:00
const Layout: FC<PropsWithChildren> = ({ children }) => {
2023-05-15 08:51:32 +08:00
return (
<div className="h-full min-w-[300px] pb-[env(safe-area-inset-bottom)]">
2025-07-17 10:52:10 +08:00
<WebAppStoreProvider>
<Splash>
{children}
</Splash>
</WebAppStoreProvider>
2023-05-15 08:51:32 +08:00
</div>
)
}
2023-08-24 17:57:25 +08:00
export default Layout