Skip to content

Commit 20e70d0

Browse files
fix: suspense wrapper
1 parent d58dc39 commit 20e70d0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/runtime/components/NinjaToaster.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@ export default defineComponent({
219219
})
220220

221221
return () => {
222-
const contentSuspense = () => h(Suspense, null, content.value)
223222
const wrapper = withDirectives(
224223
h(
225224
'div',
@@ -237,7 +236,7 @@ export default defineComponent({
237236
onKeydown,
238237
onClick
239238
},
240-
contentSuspense
239+
h(Suspense, null, content.value)
241240
),
242241
[[vShow, isActive.value]]
243242
)

0 commit comments

Comments
 (0)