mirror of
https://github.com/SomboChea/ui
synced 2024-11-24 06:54:27 +07:00
fix(installlistitem): changed the wrong icon (#211)
This commit is contained in:
parent
5d6ad3d783
commit
4498aad4bf
@ -51,14 +51,14 @@ const InstallListItem: React.FC<Interface> = ({ packageName, dependencyManager }
|
|||||||
case DependencyManager.YARN:
|
case DependencyManager.YARN:
|
||||||
return (
|
return (
|
||||||
<InstallItem button={true} data-testid={'installListItem-yarn'}>
|
<InstallItem button={true} data-testid={'installListItem-yarn'}>
|
||||||
<PackageMangerAvatar alt="yarn" src={pnpmLogo} />
|
<PackageMangerAvatar alt="yarn" src={yarnLogo} />
|
||||||
<InstallListItemText primary={<CopyToClipBoard text={`yarn add ${packageName}`} />} secondary={'Install using yarn'} />
|
<InstallListItemText primary={<CopyToClipBoard text={`yarn add ${packageName}`} />} secondary={'Install using yarn'} />
|
||||||
</InstallItem>
|
</InstallItem>
|
||||||
);
|
);
|
||||||
case DependencyManager.PNPM:
|
case DependencyManager.PNPM:
|
||||||
return (
|
return (
|
||||||
<InstallItem button={true} data-testid={'installListItem-pnpm'}>
|
<InstallItem button={true} data-testid={'installListItem-pnpm'}>
|
||||||
<PackageMangerAvatar alt={'pnpm'} src={yarnLogo} />
|
<PackageMangerAvatar alt={'pnpm'} src={pnpmLogo} />
|
||||||
<InstallListItemText primary={<CopyToClipBoard text={`pnpm install ${packageName}`} />} secondary={'Install using pnpm'} />
|
<InstallListItemText primary={<CopyToClipBoard text={`pnpm install ${packageName}`} />} secondary={'Install using pnpm'} />
|
||||||
</InstallItem>
|
</InstallItem>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user