Apply suggestions from code review

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
This commit is contained in:
FineArchs 2024-11-17 21:34:11 +09:00 committed by GitHub
parent 16d0742e76
commit aeb7dca096
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -566,12 +566,13 @@ function showRenoteMenu(): void {
}, },
}; };
} }
const renoteDetailsMenu: MenuItem = { const renoteDetailsMenu: MenuItem = {
type: 'link', type: 'link',
text: i18n.ts.renoteDetails, text: i18n.ts.renoteDetails,
icon: 'ti ti-info-circle', icon: 'ti ti-info-circle',
to: notePage(note.value), to: notePage(note.value),
} };
if (isMyRenote) { if (isMyRenote) {
pleaseLogin({ openOnRemote: pleaseLoginContext.value }); pleaseLogin({ openOnRemote: pleaseLoginContext.value });