import { Stack } from '@servicetitan/design-system'; import { useDependencies } from '@servicetitan/react-ioc'; import { CHAT_UI_STORE_TOKEN } from '@servicetitan/titan-chat-ui-common'; import { observer } from 'mobx-react'; import { FC } from 'react'; import { ChatError } from './chat-error'; import { ChatTimer } from './chat-timer'; export interface IChatNotificationsProps {} export const ChatNotifications: FC = observer(() => { const [chatUiStore] = useDependencies(CHAT_UI_STORE_TOKEN); return ( {chatUiStore.timer && !chatUiStore.isError && } {chatUiStore.isError && } ); });