diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience_content.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience_content.tsx index 9d3f724aeff5ce..938c8930f4dd14 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience_content.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience_content.tsx @@ -83,38 +83,32 @@ export const SearchExperienceContent: React.FC = () => { // If we have no results AND no search term, show a CTA for the user to index documents return ( - <> -
- - {i18n.translate( - 'xpack.enterpriseSearch.appSearch.documents.search.indexDocumentsTitle', - { - defaultMessage: 'No documents yet!', - } - )} - - } - body={i18n.translate('xpack.enterpriseSearch.appSearch.documents.search.indexDocuments', { - defaultMessage: 'Indexed documents will show up here.', - })} - actions={ - !isMetaEngine && myRole.canManageEngineDocuments ? ( - - ) : ( - - {i18n.translate('xpack.enterpriseSearch.appSearch.documents.search.indexingGuide', { - defaultMessage: 'Read the indexing guide', - })} - - ) - } - /> - + + {i18n.translate('xpack.enterpriseSearch.appSearch.documents.search.indexDocumentsTitle', { + defaultMessage: 'No documents yet!', + })} + + } + body={i18n.translate('xpack.enterpriseSearch.appSearch.documents.search.indexDocuments', { + defaultMessage: 'Indexed documents will show up here.', + })} + actions={ + !isMetaEngine && myRole.canManageEngineDocuments ? ( + + ) : ( + + {i18n.translate('xpack.enterpriseSearch.appSearch.documents.search.indexingGuide', { + defaultMessage: 'Read the indexing guide', + })} + + ) + } + /> ); };