diff --git a/packages/app-project/src/screens/ProjectHomePage/components/Hero/components/WorkflowSelector/WorkflowSelector.js b/packages/app-project/src/screens/ProjectHomePage/components/Hero/components/WorkflowSelector/WorkflowSelector.js index d454549b141..18fc9723916 100644 --- a/packages/app-project/src/screens/ProjectHomePage/components/Hero/components/WorkflowSelector/WorkflowSelector.js +++ b/packages/app-project/src/screens/ProjectHomePage/components/Hero/components/WorkflowSelector/WorkflowSelector.js @@ -17,7 +17,7 @@ const markdownzComponents = { } function WorkflowSelector (props) { - const { loadingState, workflows } = props + const { userReadyState, workflows } = props const loaderColor = props.theme.global.colors.brand const workflowDescription = props.workflowDescription || counterpart('WorkflowSelector.message') @@ -30,7 +30,7 @@ function WorkflowSelector (props) { {workflowDescription} - {(loadingState === asyncStates.error) && ( + {(userReadyState === asyncStates.error) && ( )} - {(loadingState === asyncStates.success) && ( + {(userReadyState === asyncStates.success) && ( )} - {(![asyncStates.success, asyncStates.error].includes(loadingState)) && ( + {(![asyncStates.success, asyncStates.error].includes(userReadyState)) && ( Hero > WorkflowSelector > WorkflowSelectorContainer', func before(function () { wrapper = shallow( ) @@ -33,6 +33,6 @@ describe('Component > Hero > WorkflowSelector > WorkflowSelectorContainer', func }) it('should pass down the user loading state', function () { - expect(componentWrapper.prop('loadingState')).to.equal('success') + expect(componentWrapper.prop('userReadyState')).to.equal('success') }) })