properly import Anchor.fn
This commit is contained in:
parent
0afacc9408
commit
cdcae9c1d4
@ -2,7 +2,7 @@ import React from 'react';
|
|||||||
import { Link } from 'react-router-dom';
|
import { Link } from 'react-router-dom';
|
||||||
import forceArray from 'force-array';
|
import forceArray from 'force-array';
|
||||||
|
|
||||||
import Anchor from '@ui/components/anchor';
|
import Anchor, { fn as AnchorFn } from '@ui/components/anchor';
|
||||||
import MetricsOutlet from '@components/metrics-outlet';
|
import MetricsOutlet from '@components/metrics-outlet';
|
||||||
import PropTypes from '@root/prop-types';
|
import PropTypes from '@root/prop-types';
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ const ServiceItem = ({
|
|||||||
) : (
|
) : (
|
||||||
<ListItemTitle>
|
<ListItemTitle>
|
||||||
<Link to={to}>
|
<Link to={to}>
|
||||||
{Anchor.fn(
|
{AnchorFn(
|
||||||
<Anchor secondary>
|
<Anchor secondary>
|
||||||
{service.name}
|
{service.name}
|
||||||
</Anchor>
|
</Anchor>
|
||||||
|
Loading…
Reference in New Issue
Block a user