1
0
mirror of https://github.com/uetchy/namae.git synced 2025-03-16 12:10:32 +09:00

Merge pull request #170 from uetchy/fix/producthunt-url

fix(producthunt): prepend producthunt.com to URL
This commit is contained in:
uetchy 2022-06-05 10:39:23 +09:00 committed by GitHub
commit a233c24516
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ const Search: React.FC<{ query: string }> = ({ query }) => {
<Result
title={hit.name}
message={`${hit.tagline} (⬆️ ${hit.vote_count})`}
link={hit.url}
link={`https://www.producthunt.com${hit.url}`}
icon={<FaProductHunt />}
key={hit.id}
/>