import { Logo } from 'components/Logo'; import { Button } from 'components/shared/Button'; import { MenuIcon, NotificationBellIcon, SearchIcon, } from 'components/shared/CustomIcon'; import { Sidebar } from 'components/shared/Sidebar'; import { OctokitProvider } from 'context/OctokitContext'; import React, { ComponentPropsWithoutRef } from 'react'; import { Outlet, useParams } from 'react-router-dom'; import { cn } from 'utils/classnames'; export interface DashboardLayoutProps extends ComponentPropsWithoutRef<'section'> {} export const DashboardLayout = ({ className, children, ...props }: DashboardLayoutProps) => { const { orgSlug } = useParams(); return (
{/* Header on mobile */}
{children}
); };