chore: 🎨 format
This commit is contained in:
parent
e958834158
commit
34ce779309
2 changed files with 30 additions and 31 deletions
|
@ -1,8 +1,7 @@
|
||||||
import { defaultStore } from "@/store";
|
import { defaultStore } from "@/store";
|
||||||
|
|
||||||
export const twemojiSvgBase =
|
export const twemojiSvgBase = defaultStore.state.useEmojiCdn
|
||||||
defaultStore.state.useEmojiCdn ?
|
? "https://cdn.jsdelivr.net/gh/jdecked/twemoji@latest/assets/svg"
|
||||||
"https://cdn.jsdelivr.net/gh/jdecked/twemoji@latest/assets/svg"
|
|
||||||
: "/twemoji";
|
: "/twemoji";
|
||||||
|
|
||||||
export function char2fileName(char: string): string {
|
export function char2fileName(char: string): string {
|
||||||
|
|
Loading…
Reference in a new issue