diff --git a/src/pages/RepoPage/ComponentsTab/ComponentsTab.jsx b/src/pages/RepoPage/ComponentsTab/ComponentsTab.jsx
index f8c4ef9f16..f7122e279f 100644
--- a/src/pages/RepoPage/ComponentsTab/ComponentsTab.jsx
+++ b/src/pages/RepoPage/ComponentsTab/ComponentsTab.jsx
@@ -3,9 +3,7 @@ import { Redirect, useParams } from 'react-router-dom'
import { SentryRoute } from 'sentry'
import { useRepoSettingsTeam } from 'services/repo'
-import { useRepoFlagsSelect } from 'services/repo/useRepoFlagsSelect'
import { TierNames, useTier } from 'services/tier'
-import ComponentsNotConfigured from 'shared/ComponentsNotConfigured'
import blurredTable from './assets/blurredTable.png'
import BackfillBanners from './BackfillBanners/BackfillBanners'
@@ -24,12 +22,7 @@ const showComponentsTable = ({
return componentsMeasurementsActive && componentsMeasurementsBackfilled
}
-const showComponentsData = ({ componentsData }) => {
- return componentsData && componentsData?.length > 0
-}
-
function ComponentsTab() {
- const { data: componentsData } = useRepoFlagsSelect()
const { provider, owner, repo } = useParams()
const { data: tierData } = useTier({ owner, provider })
const { data: repoSettings } = useRepoSettingsTeam()
@@ -49,10 +42,6 @@ function ComponentsTab() {
return
- {isSearching
- ? 'No results found'
- : 'There was a problem getting components data'}
+ {isSearching ? 'No results found' :
No data to display
++ You will need to configure components in your yaml file to view the + list of your components here. +
+