( page: ReactNode, pageProps: Record<string, unknown>, layoutProps: MainLayoutProps, )
| 6 | import { getLayout as getMainLayout } from './MainLayout'; |
| 7 | |
| 8 | export const getLayout = ( |
| 9 | page: ReactNode, |
| 10 | pageProps: Record<string, unknown>, |
| 11 | layoutProps: MainLayoutProps, |
| 12 | ): ReactNode => |
| 13 | getMainLayout( |
| 14 | <NoSidebarLayout hideBackButton={layoutProps?.hideBackButton}> |
| 15 | {page} |
| 16 | </NoSidebarLayout>, |
| 17 | pageProps, |
| 18 | { |
| 19 | ...layoutProps, |
| 20 | showSidebar: false, |
| 21 | }, |
| 22 | ); |
nothing calls this directly
no outgoing calls
no test coverage detected