Skip to content

Commit a745b5a

Browse files
committed
Fixed Lint error on Line 272, moved line 422 to line 421.
1 parent 7c53acc commit a745b5a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

samples/tutorial/Tutorial2.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ The override for using `renderChild` on a child Workflow with `Nothing` as its o
269269
): Any {
270270
// Render a child workflow of type WelcomeWorkflow. When renderChild is called, the
271271
// infrastructure will start a child workflow session with state, if one is not already running.
272-
val welcomeScreen = context.renderChild(WelcomeWorkflow)
272+
val welcomeScreen = context.renderChild(WelcomeWorkflow)
273273
return welcomeScreen
274274
}
275275
```
@@ -418,8 +418,7 @@ object RootWorkflow : StatefulWorkflow<Unit, State, Nothing, Any>() {
418418

419419
// When the state is Todo, defer to the TodoListWorkflow.
420420
is Todo -> {
421-
val todoScreen
422-
= context.renderChild(TodoListWorkflow, Unit) {
421+
val todoScreen = context.renderChild(TodoListWorkflow, Unit) {
423422
TODO() // we'll handle output of TodoListWorkflow later
424423
}
425424
return todoScreen

0 commit comments

Comments
 (0)