Skip to content

Commit

Permalink
fix(RHICOMPL-3518): Fix create policy button on Inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
AsToNlele committed Aug 21, 2023
1 parent c0748b8 commit 7541c7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PresentationalComponents/LinkButton/LinkButton.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React from 'react';
import propTypes from 'prop-types';
import { Button } from '@patternfly/react-core';
import useNavigate from '@redhat-cloud-services/frontend-components-utilities/useInsightsNavigate';
import useInsightsNavigate from '@redhat-cloud-services/frontend-components-utilities/useInsightsNavigate';

const LinkButton = ({ children, to, ...props }) => {
const navigate = useNavigate();
const navigate = useInsightsNavigate('compliance');

return (
<Button onClick={() => navigate(to)} {...props}>
Expand Down

0 comments on commit 7541c7f

Please sign in to comment.