mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-03 00:56:00 +02:00
@@ -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}`;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user