diff --git a/app/javascript/widget/components/ChatInputWrap.vue b/app/javascript/widget/components/ChatInputWrap.vue index 0ab31708b..1cfcd3125 100755 --- a/app/javascript/widget/components/ChatInputWrap.vue +++ b/app/javascript/widget/components/ChatInputWrap.vue @@ -9,16 +9,14 @@ import FluentIcon from 'shared/components/FluentIcon/Index.vue'; import ResizableTextArea from 'shared/components/ResizableTextArea.vue'; import { useDarkMode } from 'widget/composables/useDarkMode'; -const EmojiInput = defineAsyncComponent( - () => import('shared/components/emoji/EmojiInput.vue') -); - export default { name: 'ChatInputWrap', components: { ChatAttachmentButton, ChatSendButton, - EmojiInput, + EmojiInput: defineAsyncComponent( + () => import('shared/components/emoji/EmojiInput.vue') + ), FluentIcon, ResizableTextArea, }, diff --git a/app/javascript/widget/mixins/routerMixin.js b/app/javascript/widget/mixins/routerMixin.js index 23b55f03d..b3b37f6fd 100644 --- a/app/javascript/widget/mixins/routerMixin.js +++ b/app/javascript/widget/mixins/routerMixin.js @@ -1,7 +1,6 @@ export default { methods: { async replaceRoute(name, params = {}) { - console.log('replaceRoute', name, params); if (this.$route.name !== name) { return this.$router.replace({ name, params }); }