diff --git a/src/library-authoring/LibraryComponents.tsx b/src/library-authoring/LibraryComponents.tsx deleted file mode 100644 index fee8cb3502..0000000000 --- a/src/library-authoring/LibraryComponents.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import React from 'react'; -import { FormattedMessage } from '@edx/frontend-platform/i18n'; - -import { NoComponents, NoSearchResults } from './EmptyStates'; -import { useLibraryComponentCount } from './data/apiHook'; -import messages from './messages'; - -type LibraryComponentsProps = { - libraryId: string; - filter: { - searchKeywords: string; - }; -}; - -const LibraryComponents = ({ libraryId, filter: { searchKeywords } }: LibraryComponentsProps) => { - const { componentCount } = useLibraryComponentCount(libraryId, searchKeywords); - - if (componentCount === 0) { - return searchKeywords === '' ? : ; - } - - return ( -
- -
- ); -}; - -export default LibraryComponents;