Skip to content

Commit

Permalink
integrate apollo back in navbar (#889)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Jul 31, 2020
1 parent 58086e3 commit 39a1938
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kotsadm/web/src/components/shared/NavBar.jsx
Expand Up @@ -2,6 +2,7 @@ import React, { PureComponent } from "react";
import PropTypes from "prop-types";
import classNames from "classnames";
import { Link, withRouter } from "react-router-dom";
import { compose, withApollo } from "react-apollo";

import { Utilities } from "@src/utilities/utilities";
import { listClusters } from "@src/queries/ClusterQueries";
Expand Down Expand Up @@ -201,4 +202,4 @@ export class NavBar extends PureComponent {
}
}

export default withRouter(NavBar);
export default compose(withRouter, withApollo)(NavBar);

0 comments on commit 39a1938

Please sign in to comment.