import {useContext} from 'react'; import AppStoreConnectContext from 'sentry/components/projects/appStoreConnectContext'; import {Organization, Project} from 'sentry/types'; import withProject from 'sentry/utils/withProject'; import SettingsNavigation from 'sentry/views/settings/components/settingsNavigation'; import getConfiguration from 'sentry/views/settings/project/navigationConfiguration'; type Props = { organization: Organization; project?: Project; }; const ProjectSettingsNavigation = ({organization, project}: Props) => { const appStoreConnectContext = useContext(AppStoreConnectContext); const debugFilesNeedsReview = appStoreConnectContext ? Object.keys(appStoreConnectContext).some( key => appStoreConnectContext[key].credentials.status === 'invalid' ) : false; return ( ); }; export default withProject(ProjectSettingsNavigation);