Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/content/learn/pathway/tutorial/user-input.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ It's a good practice for interactive widgets to
use callback functions to keep the widget that handles interactions reusable and
decoupled from any specific functionality.

By the end of this lesson, the passed-in `onGuessSubmitted` function
By the end of this lesson, the passed-in `onSubmitGuess` function
is called when a user enters a guess.
First, you'll need to build the visual parts of this widget.
This is what the widget will look like.
Expand Down Expand Up @@ -435,7 +435,7 @@ you can continue typing.

Finally, you need to handle the text that the user enters.
Recall that the constructor for `GuessInput` requires a
callback called `onGuessSubmitted`.
callback called `onSubmitGuess`.
In `GuessInput`, you need to use that callback.
Replace the `print` statement with a call to that function.

Expand Down
Loading