fix: remove prevent default and use react context (#411)

* fix: remove prevent default and use react context

* chore: remove string check
This commit is contained in:
Juan Picado @jotadeveloper
2020-01-08 12:16:13 +01:00
committed by GitHub
parent 6e2bface93
commit 6bd38b8120
3 changed files with 120 additions and 15 deletions

View File

@@ -38,7 +38,7 @@ const DetailSidebar: React.FC = () => {
/>
<ActionBar />
<Install />
{packageMeta?.latest?.funding && <DetailSidebarFundButton to={packageMeta.latest.funding.url} />}
<DetailSidebarFundButton />
<Repository />
<Engines />
<Dist />