webpack/components/ReportJsonViewer.js in foreman_ansible-5.1.3 vs webpack/components/ReportJsonViewer.js in foreman_ansible-6.0.0
- old
+ new
@@ -8,10 +8,10 @@
base00: 'rgba(0, 0, 0, 0)',
};
const ReportJsonViewer = ({ data }) => (
<div className="report-json-viewer">
- <JSONTree data={this.props.data} hideRoot theme={theme} />
+ <JSONTree data={data} hideRoot theme={theme} />
</div>
);
ReportJsonViewer.propTypes = {
data: PropTypes.object.isRequired,