vue-tsc -b is stricter than --noEmit; the StickerTray emoji input ref and the StickerCanvas customAssetUrl import were unused.
This commit is contained in:
@@ -221,7 +221,7 @@ function imageStickerConfig(s: StickerLayer) {
|
||||
}
|
||||
|
||||
import { STICKERS } from '@/assets/stickers/index'
|
||||
import { CUSTOM_STICKER_ASSETS, customAssetUrl } from '@/assets/stickers/customAssets'
|
||||
import { CUSTOM_STICKER_ASSETS } from '@/assets/stickers/customAssets'
|
||||
|
||||
function emojiFor(s: StickerLayer): string {
|
||||
// New stickers carry the glyph directly; legacy stickers fall back to
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
<h3 class="sticker-tray__heading">Any emoji</h3>
|
||||
<p class="sticker-tray__hint">Tap the box, then pick from your keyboard's emoji button.</p>
|
||||
<input
|
||||
ref="emojiInputRef"
|
||||
type="text"
|
||||
class="sticker-tray__emoji-input"
|
||||
inputmode="text"
|
||||
@@ -87,7 +86,6 @@ const RECENTS_KEY = 'pf.stickerTray.recents'
|
||||
const MAX_RECENTS = 12
|
||||
|
||||
const recents = ref<RecentItem[]>([])
|
||||
const emojiInputRef = ref<HTMLInputElement>()
|
||||
|
||||
onMounted(() => {
|
||||
recents.value = loadRecents()
|
||||
|
||||
Reference in New Issue
Block a user