import React from 'react'; import { defineMessages, useIntl } from 'react-intl'; import { Stack, Text } from 'soapbox/components/ui'; const messages = defineMessages({ title: { id: 'chat_search.empty_results_blankslate.title', defaultMessage: 'No matches found' }, body: { id: 'chat_search.empty_results_blankslate.body', defaultMessage: 'Try searching for another name.' }, }); const EmptyResultsBlankslate = () => { const intl = useIntl(); return ( {intl.formatMessage(messages.title)} {intl.formatMessage(messages.body)} ); }; export default EmptyResultsBlankslate;