fix: hashtag id
This commit is contained in:
parent
30e4ef57df
commit
d386a2dbbe
5 changed files with 9 additions and 7 deletions
|
@ -42,7 +42,7 @@ const searchResult = $computed<QueryResult>(() => {
|
|||
const hashtagList = hashtags.value.slice(0, 3)
|
||||
.map<HashTagResult>(hashtag => ({
|
||||
type: 'hashtag',
|
||||
id: hashtag.id,
|
||||
id: `hashtag-${hashtag.name}`,
|
||||
hashtag,
|
||||
to: getTagRoute(hashtag.name),
|
||||
}))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue