diff --git a/plugins/plugin-site/src/components/Plugin.jsx b/plugins/plugin-site/src/components/Plugin.jsx index 7548b6b42..c302af533 100644 --- a/plugins/plugin-site/src/components/Plugin.jsx +++ b/plugins/plugin-site/src/components/Plugin.jsx @@ -1,6 +1,5 @@ import PropTypes from 'prop-types'; import React from 'react'; -import {navigate} from 'gatsby'; import {cleanTitle, formatPercentage} from '../commons/helper'; import Icon from '../components/Icon'; import PluginLabels from '../components/PluginLabels'; @@ -27,7 +26,7 @@ Developers.propTypes = PluginDevelopers.propTypes; function Plugin({plugin: {name, title, stats, labels, excerpt, developers, buildDate, releaseTimestamp, healthScore}}) { const installStr = stats.currentInstallPercentage ? formatPercentage(stats.currentInstallPercentage) : '?'; return ( -
navigate(`/${name}/`)} className="Plugin--PluginContainer"> +
@@ -52,7 +51,7 @@ function Plugin({plugin: {name, title, stats, labels, excerpt, developers, build
{healthScore && ()}
-
+ ); }