Skip to content

Commit

Permalink
fix f7e7a4a
Browse files Browse the repository at this point in the history
  • Loading branch information
noridev committed Oct 4, 2023
1 parent db3a2db commit 9948ea3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/frontend/src/components/MkSubNoteContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -399,11 +399,11 @@ async function toggleReaction(reaction) {
});
} else {
os.api('notes/reactions/create', {
noteId: appearNote.id,
noteId: note.id,
reaction: reaction,
});
}
if (appearNote.text && appearNote.text.length > 100 && (Date.now() - new Date(appearNote.createdAt).getTime() < 1000 * 3)) {
if (note.text && note.text.length > 100 && (Date.now() - new Date(note.createdAt).getTime() < 1000 * 3)) {
claimAchievement('reactWithoutRead');
}
}
Expand Down

0 comments on commit 9948ea3

Please sign in to comment.