We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fde2983 + 9ac5953 commit 292eaabCopy full SHA for 292eaab
packages/Toast.vue
@@ -212,8 +212,8 @@ const pointerStartRef = ref<{ x: number; y: number } | null>(null)
212
const coords = computed(() => props.position.split('-'))
213
const y = computed(() => coords.value[0])
214
const x = computed(() => coords.value[1])
215
-const isStringOfTitle = typeof props.toast.title !== 'string'
216
-const isStringOfDescription = typeof props.toast.description !== 'string'
+const isStringOfTitle = computed(() => typeof props.toast.title !== 'string')
+const isStringOfDescription = computed(() => typeof props.toast.description !== 'string')
217
218
const toastsHeightBefore = computed(() => {
219
return props.heights.reduce((prev, curr, reducerIndex) => {
0 commit comments