chore: put define component in scope

This commit is contained in:
Shivam Mishra
2024-10-05 19:33:52 +05:30
parent 9964daae2b
commit df27873e7b
2 changed files with 3 additions and 6 deletions
@@ -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,
},