1
2
3
4
5
6
7
8
9
10
11
12
13
14
| import Main from './layout-main'
|
| const AppDetailLayout = async (props: {
| children: React.ReactNode
| params: Promise<{ appId: string }>
| }) => {
| const {
| children,
| params,
| } = props
|
| return <Main appId={(await params).appId}>{children}</Main>
| }
| export default AppDetailLayout
|
|