mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 09:25:27 +00:00
Format and automatically fix linted code.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export const emojiDictionary = {
|
||||
"100": "💯",
|
||||
"1234": "🔢",
|
||||
100: "💯",
|
||||
1234: "🔢",
|
||||
grinning: "😀",
|
||||
smiley: "😃",
|
||||
smile: "😄",
|
||||
|
||||
@@ -19,8 +19,8 @@ export const SOUNDS_ARRAY: Sounds[] = [
|
||||
];
|
||||
|
||||
export function playSound(sound: Sounds) {
|
||||
let file = SoundMap[sound];
|
||||
let el = new Audio(file);
|
||||
const file = SoundMap[sound];
|
||||
const el = new Audio(file);
|
||||
try {
|
||||
el.play();
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user