Skip to content

Commit 044c87f

Browse files
author
Tiago Silva
committed
Fix trailing spaces on tutorial 2
1 parent 36a0f45 commit 044c87f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

samples/tutorial/Tutorial2.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ object WelcomeWorkflow : StatefulWorkflow<Unit, State, Nothing, WelcomeScreen>()
258258
//
259259
}
260260
```
261+
261262
Remove the lambda at the end of `context.renderChild(WelcomeWorkflow)`
262263
The override for using `renderChild` on a child Workflow with `Nothing` as its output type does not have a lambda parameter
263264

@@ -272,7 +273,7 @@ The override for using `renderChild` on a child Workflow with `Nothing` as its o
272273
val welcomeScreen = context.renderChild(WelcomeWorkflow)
273274
return welcomeScreen
274275
}
275-
```
276+
```
276277

277278
Update the `TutorialActivity` to start at the `RootWorkflow` and we'll see the welcome screen again:
278279

0 commit comments

Comments
 (0)