diff --git a/docs/reference/koin-compose/multiplatform.md b/docs/reference/koin-compose/multiplatform.md index d6c21ee6a..1ae5a0ebb 100644 --- a/docs/reference/koin-compose/multiplatform.md +++ b/docs/reference/koin-compose/multiplatform.md @@ -94,7 +94,7 @@ Koin offers you a way to load specific modules for a given Composable function. @Preview fun MyComponentComposable() { // load module at first call of this component - rememberKoinModules(myModule) + rememberKoinModules { listOf(myModule) } } ``` @@ -110,4 +110,4 @@ The composable function `rememberKoinScope` and `KoinScope` allow to handle Koin :::info this API is still unstable for now -::: \ No newline at end of file +:::