From cdcae9c1d416d14e4f6e65d1851d10d33c4ff9be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Thu, 23 Feb 2017 15:46:33 +0000 Subject: [PATCH] properly import Anchor.fn --- frontend/src/components/service/item.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/service/item.js b/frontend/src/components/service/item.js index 1758b7d8..911c7af9 100644 --- a/frontend/src/components/service/item.js +++ b/frontend/src/components/service/item.js @@ -2,7 +2,7 @@ import React from 'react'; import { Link } from 'react-router-dom'; 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 PropTypes from '@root/prop-types'; @@ -41,7 +41,7 @@ const ServiceItem = ({ ) : ( - {Anchor.fn( + {AnchorFn( {service.name}