mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-05 01:55:36 +02:00
Use string interpolation
This commit is contained in:
@@ -3,5 +3,5 @@ import config from '../../../config';
|
||||
export default (tag: string) => ({
|
||||
type: 'Hashtag',
|
||||
href: `${config.url}/tags/${encodeURIComponent(tag)}`,
|
||||
name: '#' + tag
|
||||
name: `#${tag}`
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user