ProjectMarketplaceLayout.tsx19 lines · main
| 1 | import { PropsWithChildren } from 'react' |
| 2 | |
| 3 | import { MarketplaceSidebar } from '@/components/interfaces/Integrations/Marketplace/MarketplaceSidebar' |
| 4 | import { ProjectLayout } from '@/components/layouts/ProjectLayout' |
| 5 | import { withAuth } from '@/hooks/misc/withAuth' |
| 6 | |
| 7 | export const ProjectMarketplaceLayout = withAuth(({ children }: PropsWithChildren) => { |
| 8 | return ( |
| 9 | <ProjectLayout |
| 10 | product="Integrations" |
| 11 | browserTitle={{ section: 'Integrations' }} |
| 12 | isBlocking={false} |
| 13 | productMenu={<MarketplaceSidebar />} |
| 14 | productMenuClassName="p-0" |
| 15 | > |
| 16 | {children} |
| 17 | </ProjectLayout> |
| 18 | ) |
| 19 | }) |