import { useAppTranslation } from '@features/localization/renderer'; import { MemberLogsTab } from '@renderer/components/team/members/MemberLogsTab'; import { Loader2 } from 'lucide-react'; import type { ComponentProps } from 'react'; interface ExecutionSessionsSectionProps extends ComponentProps { isRefreshing?: boolean; isPreviewOnline?: boolean; } export const ExecutionSessionsSection = ({ isRefreshing = false, isPreviewOnline = false, ...props }: ExecutionSessionsSectionProps): React.JSX.Element => { const { t } = useAppTranslation('team'); return (

{t('taskLogs.executionSessions.title')}

{isRefreshing || isPreviewOnline ? ( {isPreviewOnline ? ( ) : null} {isRefreshing ? ( {t('taskLogs.executionSessions.updating')} ) : null} ) : null}

{t('taskLogs.executionSessions.description')}

); };