mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed linter errors.
This commit is contained in:
parent
ae73f13812
commit
ebee7a5b72
@ -217,5 +217,7 @@ Wizard.propTypes = {
|
||||
stepPanelCss: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
||||
rootClass: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
||||
children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]),
|
||||
disableDialogHelp: PropTypes.bool
|
||||
disableDialogHelp: PropTypes.bool,
|
||||
beforeNext: PropTypes.func,
|
||||
beforeBack: PropTypes.func,
|
||||
};
|
||||
|
@ -11,15 +11,15 @@ import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
export default function WizardStep({ ...props }) {
|
||||
return (
|
||||
<> {
|
||||
React.Children.map(props.children, (child) => {
|
||||
return (
|
||||
<>
|
||||
{child}
|
||||
</>
|
||||
);
|
||||
})
|
||||
}
|
||||
<> {
|
||||
React.Children.map(props.children, (child) => {
|
||||
return (
|
||||
<>
|
||||
{child}
|
||||
</>
|
||||
);
|
||||
})
|
||||
}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user