diff --git a/src/components/SystemDetails/Advisor.js b/src/components/SystemDetails/Advisor.js index 89a378b46..58ce241aa 100644 --- a/src/components/SystemDetails/Advisor.js +++ b/src/components/SystemDetails/Advisor.js @@ -1,8 +1,9 @@ import React from 'react'; import { useStore } from 'react-redux'; import AsyncComponent from '@redhat-cloud-services/frontend-components/AsyncComponent'; +import PropTypes from 'prop-types'; -const AdvisorTab = () => { +const AdvisorTab = ({ inventoryId }) => { return { intlProps={{ locale: navigator.language.slice(0, 2) }} + inventoryId={inventoryId} />; }; +AdvisorTab.propTypes = { + inventoryId: PropTypes.string.isRequired +}; export default AdvisorTab;