parent
7045547e46
commit
c9819babfe
2 changed files with 9 additions and 2 deletions
|
|
@ -18,6 +18,6 @@ export const userPage = (user: Misskey.Acct, path?: string, absolute = false) =>
|
|||
return `${absolute ? url : ''}/@${acct(user)}${(path ? `/${path}` : '')}`;
|
||||
};
|
||||
|
||||
export const notePage = note => {
|
||||
export const notePage = (note: Misskey.entities.Note) => {
|
||||
return `/notes/${note.id}`;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue