71dbe06dfd
* fix: restore screen reader alerts for unread chat messages * fix: move screen reader alert adapter up the component tree
16 lines
319 B
TypeScript
16 lines
319 B
TypeScript
import React from 'react';
|
|
import ScreenReaderAlert from './component';
|
|
import { useOlderAlert } from './queue';
|
|
|
|
const ScreenReaderAlertContainer = () => {
|
|
const olderAlert = useOlderAlert();
|
|
|
|
return (
|
|
<ScreenReaderAlert
|
|
olderAlert={olderAlert}
|
|
/>
|
|
);
|
|
};
|
|
|
|
export default ScreenReaderAlertContainer;
|