mirror of
https://github.com/misskey-dev/misskey
synced 2024-06-26 04:17:54 +02:00
8 lines
169 B
TypeScript
8 lines
169 B
TypeScript
import config from '../../../config';
|
|
|
|
export default (tag: string) => ({
|
|
type: 'Hashtag',
|
|
href: `${config.url}/tags/${encodeURIComponent(tag)}`,
|
|
name: '#' + tag
|
|
});
|