diff --git a/packages/pf4-component-mapper/src/wizard/wizard-components/wizard-nav.js b/packages/pf4-component-mapper/src/wizard/wizard-components/wizard-nav.js index 233287574..8d66aeca4 100644 --- a/packages/pf4-component-mapper/src/wizard/wizard-components/wizard-nav.js +++ b/packages/pf4-component-mapper/src/wizard/wizard-components/wizard-nav.js @@ -1,6 +1,6 @@ -import React, { useState, useEffect } from 'react'; +import React, { Fragment, useState, useEffect } from 'react'; -import { WizardNavItem, WizardNav } from '@patternfly/react-core'; +import { WizardNav, WizardNavItem } from '@patternfly/react-core'; import isEqual from 'lodash/isEqual'; import get from 'lodash/get'; @@ -21,7 +21,7 @@ const memoValues = (initialValue) => { const WizardNavigationInternal = React.memo( ({ navSchema, activeStepIndex, maxStepIndex, jumpToStep, valid, validating }) => ( - + {navSchema .filter((field) => field.primary) .map((step) => { @@ -63,7 +63,7 @@ const WizardNavigationInternal = React.memo( ); })} - + ), isEqual );