Skip to content
Snippets Groups Projects
Unverified Commit 31e0e07d authored by Mar0xy's avatar Mar0xy
Browse files

upd: use appearNote instead of props.note

parent 74a07c38
No related branches found
No related tags found
No related merge requests found
......@@ -373,7 +373,7 @@ function like(): void {
pleaseLogin();
showMovedDialog();
os.api('notes/reactions/create', {
noteId: props.note.id,
noteId: apperNote.id,
reaction: '❤️',
});
const el = likeButton.value as HTMLElement | null | undefined;
......
......@@ -440,7 +440,7 @@ function like(): void {
pleaseLogin();
showMovedDialog();
os.api('notes/reactions/create', {
noteId: props.note.id,
noteId: appearNote.id,
reaction: '❤️',
});
const el = likeButton.value as HTMLElement | null | undefined;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment