@ -81,8 +81,10 @@ fun <TElement : Element> TagElement(
content = content
)
DisposableEffect(null) {
refEffect.effect?.let { refEffect ->
refEffect.effect?.invoke(this, scope.element) ?: onDispose {}
refEffect.invoke(this, scope.element)
}