chore: formatting

This commit is contained in:
ThatOneCalculator 2023-06-02 23:21:06 -07:00
parent f2a1d5643b
commit c1f699789b
No known key found for this signature in database
GPG key ID: 8703CACD01000000
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ export const getNoteSummary = (note: Packed<"Note">): string => {
// ファイルが添付されているとき
if ((note.files || []).length !== 0) {
const len = note.files?.length;
summary += ` 📎 (${len !== 1 ? len : ''})`;
summary += ` 📎 (${len !== 1 ? len : ""})`;
}
// 投票が添付されているとき

View file

@ -24,7 +24,7 @@ export const getNoteSummary = (note: misskey.entities.Note): string => {
// ファイルが添付されているとき
if ((note.files || []).length !== 0) {
const len = note.files?.length;
summary += ` 📎 (${len !== 1 ? len : ''})`;
summary += ` 📎 (${len !== 1 ? len : ""})`;
}
// 投票が添付されているとき