Skip to content

Commit 893f05a

Browse files
committed
Revert changes to StepFunctionFlowViewer.jsx - restore original mergedConfig prop passing
1 parent 05d65d9 commit 893f05a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/ui/src/components/step-function-flow/StepFunctionFlowViewer.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const isStepDisabled = (stepName, config) => {
5959
return false;
6060
};
6161

62-
const StepFunctionFlowViewer = ({ executionArn, visible, onDismiss, mergedConfig = null }) => {
62+
const StepFunctionFlowViewer = ({ executionArn, visible, onDismiss, mergedConfig }) => {
6363
const [selectedStep, setSelectedStep] = useState(null);
6464
const [data, setData] = useState(null);
6565
const [loading, setLoading] = useState(false);
@@ -418,6 +418,7 @@ const StepFunctionFlowViewer = ({ executionArn, visible, onDismiss, mergedConfig
418418
onStepClick={setSelectedStep}
419419
selectedStep={selectedStep}
420420
getStepIcon={getStepIcon}
421+
mergedConfig={mergedConfig}
421422
/>
422423
</Container>
423424

@@ -500,4 +501,8 @@ StepFunctionFlowViewer.propTypes = {
500501
}),
501502
};
502503

504+
StepFunctionFlowViewer.defaultProps = {
505+
mergedConfig: null,
506+
};
507+
503508
export default StepFunctionFlowViewer;

0 commit comments

Comments
 (0)