import { useI18n } from 'domains/i18n/hooks' import { className } from 'lib/css' import { useEffect } from 'preact/hooks' import { useLiveRegion, useSeamlyCurrentAgent } from 'ui/hooks/seamly-hooks' import EventParticipant from './event/event-participant' const Loader = () => { const { t } = useI18n() const { sendPolite } = useLiveRegion() const { id, name } = useSeamlyCurrentAgent() || {} useEffect(() => { if (name) { sendPolite(t('typing.srText', { name })) } }, [name, sendPolite, t]) return (
  • ) } export default Loader