refactor(web): dependency management (#2386)
This commit is contained in:
@@ -3,12 +3,12 @@ import { FunctionComponent } from 'react'
|
||||
import PurchaseFlowView from './PurchaseFlowView'
|
||||
import { PurchaseFlowWrapperProps } from './PurchaseFlowWrapperProps'
|
||||
|
||||
const PurchaseFlowWrapper: FunctionComponent<PurchaseFlowWrapperProps> = ({ viewControllerManager, application }) => {
|
||||
if (!viewControllerManager.purchaseFlowController.isOpen) {
|
||||
const PurchaseFlowWrapper: FunctionComponent<PurchaseFlowWrapperProps> = ({ application }) => {
|
||||
if (!application.purchaseFlowController.isOpen) {
|
||||
return null
|
||||
}
|
||||
|
||||
return <PurchaseFlowView viewControllerManager={viewControllerManager} application={application} />
|
||||
return <PurchaseFlowView application={application} />
|
||||
}
|
||||
|
||||
export default observer(PurchaseFlowWrapper)
|
||||
|
||||
Reference in New Issue
Block a user