ハッシュタグ検索を実装
This commit is contained in:
parent
0360337df9
commit
94ce658ab9
12 changed files with 470 additions and 7 deletions
|
|
@ -2,6 +2,6 @@ import config from '../../../config';
|
|||
|
||||
export default tag => ({
|
||||
type: 'Hashtag',
|
||||
href: `${config.url}/search?q=#${encodeURIComponent(tag)}`,
|
||||
href: `${config.url}/tags/${encodeURIComponent(tag)}`,
|
||||
name: '#' + tag
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue