From 2d5993dfe3eb69791cb4c7aa2effcc237947c03e Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Wed, 7 May 2025 19:32:22 +0530 Subject: [PATCH] fix: import name --- app/javascript/entrypoints/ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/entrypoints/ui.js b/app/javascript/entrypoints/ui.js index 81a2468e7..5d62fd782 100644 --- a/app/javascript/entrypoints/ui.js +++ b/app/javascript/entrypoints/ui.js @@ -1,4 +1,4 @@ -import { h, createCustomElement } from 'vue'; +import { h, defineCustomElement } from 'vue'; const ChatButton = { name: 'ChatButton', @@ -25,4 +25,4 @@ const ChatButton = { }, }; -export const buttonElement = createCustomElement(ChatButton); +export const buttonElement = defineCustomElement(ChatButton);