import { PropsWithChildren, ReactNode } from 'react'; import { ErrorBoundary } from '@sentry/react'; import ScrollArea from '../../common/components/scroll-area/ScrollArea'; import { useIsOnline } from '../../common/hooks/useSocket'; import { cx } from '../../common/utils/styleUtils'; import style from './Overview.module.scss'; interface OverviewWrapperProps { navElements: ReactNode; } export function OverviewWrapper({ navElements, children }: PropsWithChildren) { const isOnline = useIsOnline(); return (
{navElements}
{children}
); }