wip
This commit is contained in:
parent
1de55ebe0b
commit
5603f77ffe
2 changed files with 6 additions and 2 deletions
|
|
@ -17,3 +17,7 @@ export const userName = (user: Misskey.entities.User) => {
|
|||
export const userPage = (user: Misskey.Acct, path?: string, absolute = false) => {
|
||||
return `${absolute ? url : ''}/@${acct(user)}${(path ? `/${path}` : '')}`;
|
||||
};
|
||||
|
||||
export const notePage = note => {
|
||||
return `/notes/${note.id}`;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue