import React from 'react'; import * as List from '../../../containers/List'; import { useVideoConf } from '../../../lib/hooks/useVideoConf'; export default function CallSection({ rid }: { rid: string }): React.ReactElement | null { const { callEnabled, showInitCallActionSheet, disabledTooltip } = useVideoConf(rid); if (callEnabled) return ( } showActionIndicator disabled={disabledTooltip} /> ); return null; }