ProjectMarketplaceLayout.tsx 613 B

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