mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-11-02 20:30:17 -06:00
Fixed linter errors.
This commit is contained in:
1 parent
ae73f13812
commit
ebee7a5b72
2 files changed
+12
-10
No files matched your search
@@ -217,5 +217,7 @@ Wizard.propTypes = {
|
|||||||
stepPanelCss: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
stepPanelCss: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
||||||
rootClass: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
rootClass: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
||||||
children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]),
|
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';
|
import PropTypes from 'prop-types';
|
||||||
export default function WizardStep({ ...props }) {
|
export default function WizardStep({ ...props }) {
|
||||||
return (
|
return (
|
||||||
<> {
|
<> {
|
||||||
React.Children.map(props.children, (child) => {
|
React.Children.map(props.children, (child) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{child}
|
{child}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user