diff --git a/src/Components/CreateImageWizardV2/steps/Review/index.tsx b/src/Components/CreateImageWizardV2/steps/Review/index.tsx index 56b977a0..f70ce01f 100644 --- a/src/Components/CreateImageWizardV2/steps/Review/index.tsx +++ b/src/Components/CreateImageWizardV2/steps/Review/index.tsx @@ -1,19 +1,29 @@ import React from 'react'; -import { Form, Title } from '@patternfly/react-core'; +import { Form, Text, Title } from '@patternfly/react-core'; import Review from './ReviewStep'; +import { useAppSelector } from '../../../../store/hooks'; +import { + selectBlueprintDescription, + selectBlueprintName, +} from '../../../../store/wizardSlice'; + const ReviewStep = ({ snapshottingEnabled, }: { snapshottingEnabled: boolean; }) => { + const blueprintName = useAppSelector(selectBlueprintName); + const blueprintDescription = useAppSelector(selectBlueprintDescription); + return (
- Review + Review {blueprintName} blueprint + {blueprintDescription && {blueprintDescription}} {/* Intentional prop drilling for simplicity - To be removed */}