diff options
Diffstat (limited to 'packages/frontend-embed/src/utils.ts')
| -rw-r--r-- | packages/frontend-embed/src/utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend-embed/src/utils.ts b/packages/frontend-embed/src/utils.ts index 48e06b21ef..939648aa38 100644 --- a/packages/frontend-embed/src/utils.ts +++ b/packages/frontend-embed/src/utils.ts @@ -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}`; }; |