From 68aa8b57e0dab80c777456b820ac4f41baeed3a3 Mon Sep 17 00:00:00 2001 From: Boaz Poolman Date: Wed, 10 Nov 2021 19:57:29 +0100 Subject: [PATCH] chore: Grab plugin icon name from package.json --- admin/src/components/PluginIcon/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/admin/src/components/PluginIcon/index.js b/admin/src/components/PluginIcon/index.js index 5e24554..5b4bd65 100644 --- a/admin/src/components/PluginIcon/index.js +++ b/admin/src/components/PluginIcon/index.js @@ -8,6 +8,8 @@ import React from 'react'; import { Icon } from '@strapi/design-system/Icon'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -const PluginIcon = () => } width="16px" />; +import pluginPkg from '../../../../package.json'; + +const PluginIcon = () => } width="16px" />; export default PluginIcon;