fix(frontend-embed): #14613 で抜け落ちた処理を戻す (#14623)

This commit is contained in:
かっこかり 2024-09-24 19:27:20 +09:00 committed by GitHub
parent 7045547e46
commit c9819babfe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 2 deletions

View file

@ -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}`;
};