syntax errors

This commit is contained in:
nelle 2024-07-14 04:11:52 -06:00
parent 9c56bf8005
commit e012f157a0
3 changed files with 9 additions and 9 deletions

View file

@ -283,7 +283,7 @@ import { getWordSoftMute } from "@/scripts/check-word-mute";
import { useRouter } from "@/router";
import { userPage } from "@/filters/user";
import * as os from "@/os";
import * as sound from '@/scripts/sound.js';
import * as sound from "@/scripts/sound.js";
import { defaultStore, noteViewInterruptors } from "@/store";
import { reactionPicker } from "@/scripts/reaction-picker";
import { $i } from "@/account";
@ -374,7 +374,7 @@ useNoteCapture({
function reply(viaKeyboard = false): void {
pleaseLogin();
sound.play('reaction');
sound.play("reaction");
os.post(
{
reply: appearNote,
@ -392,7 +392,7 @@ function react(viaKeyboard = false): void {
reactionPicker.show(
reactButton.value,
(reaction) => {
sound.play('reaction');
sound.play("reaction");
os.api("notes/reactions/create", {
noteId: appearNote.id,

View file

@ -177,7 +177,7 @@ import { pleaseLogin } from "@/scripts/please-login";
import { getWordSoftMute } from "@/scripts/check-word-mute";
import { userPage } from "@/filters/user";
import * as os from "@/os";
import * as sound from '@/scripts/sound.js';
import * as sound from "@/scripts/sound.js";
import { defaultStore, noteViewInterruptors } from "@/store";
import { reactionPicker } from "@/scripts/reaction-picker";
import { $i } from "@/account";
@ -271,11 +271,11 @@ function reply(viaKeyboard = false): void {
function react(viaKeyboard = false): void {
pleaseLogin();
blur();
sound.play('reaction');
sound.play("reaction");
reactionPicker.show(
reactButton.value,
(reaction) => {
sound.play('reaction');
sound.play("reaction");
os.api("notes/reactions/create", {
noteId: note.id,

View file

@ -28,7 +28,7 @@ import XReactionIcon from "@/components/MkReactionIcon.vue";
import * as os from "@/os";
import { useTooltip } from "@/scripts/use-tooltip";
import { $i } from "@/account";
import * as sound from '@/scripts/sound.js';
import * as sound from "@/scripts/sound.js";
const props = defineProps<{
reaction: string;
@ -54,7 +54,7 @@ const toggleReaction = () => {
noteId: props.note.id,
}).then(() => {
if (oldReaction !== props.reaction) {
sound.play('reaction');
sound.play("reaction");
os.api("notes/reactions/create", {
noteId: props.note.id,
reaction: props.reaction,
@ -62,7 +62,7 @@ const toggleReaction = () => {
}
});
} else {
sound.play('reaction');
sound.play("reaction");
os.api("notes/reactions/create", {
noteId: props.note.id,