@@ -49,7 +49,7 @@ import { ReactComponent as StopButton } from '../../../../assets/icons/ic-stop.s
4949import { ReactComponent as ForwardArrow } from '../../../../assets/icons/ic-arrow-forward.svg'
5050
5151import { SourceInfo } from './SourceInfo'
52- import { AppStreamData , Application , Nodes , AggregatedNodes , NodeDetailTabs } from '../../types'
52+ import { Application , Nodes , AggregatedNodes , NodeDetailTabs } from '../../types'
5353import {
5454 aggregateNodes ,
5555 getSelectedNodeItems ,
@@ -228,7 +228,6 @@ export const Details: React.FC<DetailsType> = ({
228228 const params = useParams < { appId : string ; envId : string } > ( )
229229 const location = useLocation ( )
230230 // fixme: the state is not being set anywhere and just being drilled down
231- const [ streamData ] = useState < AppStreamData > ( null )
232231 const [ detailedStatus , toggleDetailedStatus ] = useState < boolean > ( false )
233232 const [ resourceTreeFetchTimeOut , setResourceTreeFetchTimeOut ] = useState < boolean > ( false )
234233 const [ urlInfo , setUrlInfo ] = useState < boolean > ( false )
@@ -579,7 +578,6 @@ export const Details: React.FC<DetailsType> = ({
579578 < DeletedAppComponent
580579 resourceTreeFetchTimeOut = { resourceTreeFetchTimeOut }
581580 showApplicationDetailedModal = { showApplicationDetailedModal }
582- appStreamData = { streamData }
583581 />
584582 ) : (
585583 < AppNotConfigured
@@ -622,7 +620,6 @@ export const Details: React.FC<DetailsType> = ({
622620 < div className = "w-100 pt-16 pr-20 pb-16 pl-20 app-info-bg-gradient" >
623621 < SourceInfo
624622 appDetails = { appDetails }
625- appStreamData = { streamData }
626623 setDetailed = { toggleDetailedStatus }
627624 environment = { environment }
628625 environments = { environments }
@@ -676,15 +673,13 @@ export const Details: React.FC<DetailsType> = ({
676673 { detailedStatus && (
677674 < AppStatusDetailModal
678675 close = { hideAppDetailsStatus }
679- appStreamData = { streamData }
680676 showAppStatusMessage = { false }
681677 />
682678 ) }
683679 { location . search . includes ( DEPLOYMENT_STATUS_QUERY_PARAM ) && (
684680 < DeploymentStatusDetailModal
685681 appName = { appDetails ?. appName }
686682 environmentName = { appDetails ?. environmentName }
687- streamData = { streamData }
688683 deploymentStatusDetailsBreakdownData = { deploymentStatusDetailsBreakdownData }
689684 isVirtualEnvironment = { isVirtualEnvRef . current }
690685 isLoading = { isInitialTimelineDataLoading }
@@ -776,15 +771,13 @@ export const Details: React.FC<DetailsType> = ({
776771const DeletedAppComponent : React . FC < DeletedAppComponentType > = ( {
777772 resourceTreeFetchTimeOut,
778773 showApplicationDetailedModal,
779- appStreamData,
780774} ) => {
781775 if ( resourceTreeFetchTimeOut ) {
782776 return (
783777 < >
784778 < div className = "mt-16 mb-9" >
785779 < SyncErrorComponent
786780 showApplicationDetailedModal = { showApplicationDetailedModal }
787- appStreamData = { appStreamData }
788781 />
789782 </ div >
790783 < EmptyK8sResourceComponent emptyStateMessage = { RESOURCES_NOT_FOUND } />
0 commit comments