mirror of
https://github.com/uetchy/namae.git
synced 2025-03-17 04:30:31 +09:00
fix: format result
This commit is contained in:
parent
3e3171d553
commit
b3328a1ce6
@ -18,7 +18,7 @@ function Search({ query }) {
|
||||
{apps.length > 0 ? (
|
||||
apps.map((app) => (
|
||||
<Result
|
||||
title={app.name}
|
||||
title={app.name.split(/[-–—\-:]/)[0]}
|
||||
message={`Price: ${app.price}`}
|
||||
link={app.viewURL}
|
||||
icon={<FaAppStore />}
|
||||
|
@ -19,7 +19,7 @@ function Search({ query }) {
|
||||
repos.map((repo) => (
|
||||
<Result
|
||||
title={repo.full_name}
|
||||
message={`Star: ${repo.stargazers_count}`}
|
||||
message={`${repo.description} (🌟${repo.stargazers_count})`}
|
||||
link={repo.html_url}
|
||||
icon={<FaGithub />}
|
||||
key={repo.id}
|
||||
|
Loading…
x
Reference in New Issue
Block a user