mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-12 13:42:38 +00:00
Fix reactivity in SkinToneTooltip
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
This commit is contained in:
parent
4e609a5e57
commit
6bf7fc3f9a
@ -14,8 +14,11 @@
|
||||
|
||||
const dispatch = createEventDispatcher()
|
||||
|
||||
const emojiSkins = getEmojiSkins(emoji)
|
||||
const skins: Emoji.Emoji[] = emojiSkins !== undefined ? [emoji, ...emojiSkins] : []
|
||||
let emojiSkins: Emoji.Emoji[] | undefined
|
||||
let skins: Emoji.Emoji[] = []
|
||||
|
||||
$: emojiSkins = getEmojiSkins(emoji)
|
||||
$: skins = emojiSkins !== undefined ? [emoji, ...emojiSkins] : []
|
||||
</script>
|
||||
|
||||
<div class="flex-row-center flex-gap-1">
|
||||
|
Loading…
Reference in New Issue
Block a user