diff --git a/docs/.vitepress/theme/components/Pricing.vue b/docs/.vitepress/theme/components/Pricing.vue index e5799cc5..a0a49b9e 100644 --- a/docs/.vitepress/theme/components/Pricing.vue +++ b/docs/.vitepress/theme/components/Pricing.vue @@ -6,18 +6,9 @@ import { LEVEL_COLORS } from './QuotePermissionData' const { lang } = useData() const showDialog = ref(false) -const qrDataUrl = ref('') -async function openDialog() { +function openDialog() { showDialog.value = true - if (!qrDataUrl.value && typeof window !== 'undefined') { - const QRCode = await import('qrcode') - qrDataUrl.value = await QRCode.toDataURL('https://open.longbridge.com', { - width: 200, - margin: 2, - color: { dark: '#000000', light: '#ffffff' }, - }) - } } function closeDialog() { @@ -194,10 +185,10 @@ const t = computed(() => {