1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-03 00:56:00 +02:00

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