From 56795eac693d9e26c41ad5212fc61f51509efae3 Mon Sep 17 00:00:00 2001 From: Abrar Wiryawan Date: Wed, 17 Apr 2024 19:46:02 +0700 Subject: [PATCH] update `rememberKoinModules` usage sample --- docs/reference/koin-compose/multiplatform.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +:::