Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.

Commit af70c9f

Browse files
Merge pull request #164 from nkiesel/patch-1
Update 05_Building_the_Frontend.md
2 parents 590b686 + 60cd50b commit af70c9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Full Stack Web App with Kotlin Multiplatform/05_Building_the_Frontend.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ import kotlinx.browser.document
6464

6565
fun main() {
6666
render(document.getElementById("root")) {
67-
child(App)
67+
child(app)
6868
}
6969
}
7070
```
@@ -88,7 +88,7 @@ import kotlinx.coroutines.*
8888

8989
private val scope = MainScope()
9090

91-
val app = functionalComponent<RProps> { _ ->
91+
val app = functionalComponent<Props> { _ ->
9292
var shoppingList by useState(emptyList<ShoppingListItem>())
9393

9494
useEffectOnce {

0 commit comments

Comments
 (0)