mirror of
https://github.com/langgenius/dify.git
synced 2025-08-12 19:27:37 +00:00
18 lines
451 B
TypeScript
18 lines
451 B
TypeScript
import type { FC, PropsWithChildren } from 'react'
|
|
import WebAppStoreProvider from '@/context/web-app-context'
|
|
import Splash from './components/splash'
|
|
|
|
const Layout: FC<PropsWithChildren> = ({ children }) => {
|
|
return (
|
|
<div className="h-full min-w-[300px] pb-[env(safe-area-inset-bottom)]">
|
|
<WebAppStoreProvider>
|
|
<Splash>
|
|
{children}
|
|
</Splash>
|
|
</WebAppStoreProvider>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Layout
|