Revision 220626de
Added by Ondřej Pražák over 2 years ago
webpack/assets/javascripts/react_app/components/HostDetails/index.js | ||
---|---|---|
params: { id },
|
||
},
|
||
location: { hash },
|
||
history,
|
||
}) => {
|
||
const { response, status } = useAPI(
|
||
'get',
|
||
... | ... | |
hostName={id}
|
||
status={status}
|
||
tabs={tabs}
|
||
router={history}
|
||
>
|
||
<Tabs
|
||
style={{
|
||
... | ... | |
location: PropTypes.shape({
|
||
hash: PropTypes.string,
|
||
}).isRequired,
|
||
history: PropTypes.object.isRequired,
|
||
};
|
||
|
||
export default HostDetails;
|
Also available in: Unified diff
Refs #32398 - Pass router history to tabs