Skip to content

Commit

Permalink
Hopefully fix emoji images for real.
Browse files Browse the repository at this point in the history
  • Loading branch information
krazkidd committed Nov 25, 2023
1 parent fa992d5 commit 020f7fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/scoreboard/ScoreboardEmojiButton.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<script setup lang="ts">
import { getEmojiTitle } from '~~/data/emoji';
const config = useRuntimeConfig();
const props = defineProps<{
id: string
}>();
Expand All @@ -15,7 +17,7 @@ const emojiTitle = computed(() => getEmojiTitle(props.id));
<template>
<button type="button" @click="emit('emote', props.id)" class="mb-2">
<img
:src="`/images/fluentui-emoji/${props.id}_color.svg`"
:src="`${config.app.baseURL}images/fluentui-emoji/${props.id}_color.svg`"
:alt="emojiTitle"
:title="emojiTitle"
/>
Expand Down

0 comments on commit 020f7fe

Please sign in to comment.