Skip to content

Commit

Permalink
chore: qr code minor
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-angjelkoski committed Dec 9, 2023
1 parent 0c2dc5b commit a943cfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui-shared/lib/components/QRCode.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup lang="ts">
import { toDataURL } from 'qrcode'
import { ref, defineProps, onMounted } from 'vue'
import { ref, onMounted } from 'vue'
const props = defineProps({
text: {
Expand All @@ -12,7 +12,7 @@ const props = defineProps({
const dataUrl = ref('')
onMounted(async () => {
const data = await toDataURL(props.text)
const data = await toDataURL(props.text, {})
dataUrl.value = data
})
</script>
Expand Down

0 comments on commit a943cfc

Please sign in to comment.