mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 00:39:49 +00:00
remove temp variable and log
This commit is contained in:
parent
a1e780e125
commit
f09a251ee4
@ -32,15 +32,11 @@ const PluginCard = ({ plugin, installedPlugins, useYarn }) => {
|
|||||||
const trackUsageRef = useRef(trackUsage);
|
const trackUsageRef = useRef(trackUsage);
|
||||||
|
|
||||||
const isInstalled = installedPlugins.includes(attributes.npmPackageName);
|
const isInstalled = installedPlugins.includes(attributes.npmPackageName);
|
||||||
// TODO: Remove this temp test boolean
|
|
||||||
const useYarn = true;
|
|
||||||
const commandToCopy = useYarn
|
const commandToCopy = useYarn
|
||||||
? `yarn add ${attributes.npmPackageName}`
|
? `yarn add ${attributes.npmPackageName}`
|
||||||
: `npm install ${attributes.npmPackageName}`;
|
: `npm install ${attributes.npmPackageName}`;
|
||||||
|
|
||||||
// TODO: remove and use
|
|
||||||
console.log(useYarn);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Flex
|
<Flex
|
||||||
direction="column"
|
direction="column"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user