From af1bc81d1d561d4cfa1451e18339c1207c9df905 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 24 Feb 2022 09:12:27 +0100 Subject: [PATCH] fix: imports from emoji-mart-vue-fast No need to import from src. These are exported fine in the dist. Importing from src also caused issues in jest tests in the text app as they do not transform the src import: https://github.com/nextcloud/text/runs/5315732664?check_suite_focus=true#step:7:85 Signed-off-by: Max --- src/functions/emoji/emoji.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/functions/emoji/emoji.js b/src/functions/emoji/emoji.js index e54e8a284b..126d327d66 100644 --- a/src/functions/emoji/emoji.js +++ b/src/functions/emoji/emoji.js @@ -21,8 +21,7 @@ */ import data from 'emoji-mart-vue-fast/data/all.json' -import { EmojiIndex } from 'emoji-mart-vue-fast/src' -import frequently from 'emoji-mart-vue-fast/src/utils/frequently' +import { EmojiIndex, frequently } from 'emoji-mart-vue-fast' // export const allEmojis = index.buildIndex()