diff --git a/docs/navigation/getting-started.md b/docs/navigation/getting-started.md index 8744b36..01adb52 100644 --- a/docs/navigation/getting-started.md +++ b/docs/navigation/getting-started.md @@ -74,9 +74,9 @@ class MainNodeView( object MainNodeFactory : NavigationNodeFactory { override fun createNode( - navigationChain: NavigationChain, - config: Base - ): NavigationNode? = if (config is MainConfig) { + navigationChain: NavigationChain, + config: NavigationNodeDefaultConfig + ): NavigationNode? = if (config is MainConfig) { MainNode(config, navigationChain) // Or `MainNodeView(config, chain)` for MVVM } else { null