mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-24 19:07:32 -07:00
?
This commit is contained in:
parent
ed27f70d2d
commit
9a2dc894c1
2 changed files with 1 additions and 3 deletions
|
@ -52,7 +52,6 @@ const props = defineProps<{
|
|||
|
||||
function star(ev?: MouseEvent): void {
|
||||
pleaseLogin();
|
||||
sound.play("reaction");
|
||||
os.api("notes/reactions/create", {
|
||||
noteId: props.note.id,
|
||||
reaction:
|
||||
|
|
|
@ -62,9 +62,8 @@ const buttonRef = ref<HTMLElement>();
|
|||
|
||||
function toggleStar(ev?: MouseEvent): void {
|
||||
pleaseLogin();
|
||||
|
||||
sound.play("reaction");
|
||||
if (!props.reacted) {
|
||||
sound.play("reaction");
|
||||
os.api("notes/reactions/create", {
|
||||
noteId: props.note.id,
|
||||
reaction: instance.defaultReaction,
|
||||
|
|
Loading…
Reference in a new issue