diff --git a/core/src/main/kotlin/com/kiwi/navigationcompose/typed/ResultSharing.kt b/core/src/main/kotlin/com/kiwi/navigationcompose/typed/ResultSharing.kt index 6b33530..0850eb7 100644 --- a/core/src/main/kotlin/com/kiwi/navigationcompose/typed/ResultSharing.kt +++ b/core/src/main/kotlin/com/kiwi/navigationcompose/typed/ResultSharing.kt @@ -82,7 +82,7 @@ public fun ResultEffectImpl( resultSerializer: KSerializer, block: (R) -> Unit, ) { - DisposableEffect(navController, block) { + DisposableEffect(navController) { // The implementation is based on the official documentation of the Result sharing. // It takes into consideration the possibility of a dialog usage (see the docs). // https://developer.android.com/guide/navigation/navigation-programmatic#additional_considerations