Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Merge f729e33 into 19f37fe
Browse files Browse the repository at this point in the history
  • Loading branch information
DougBanksPersonal committed May 29, 2019
2 parents 19f37fe + f729e33 commit c94f9e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/state-and-lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ There's another form of `setState` we can use. When the new state we want our co
function MyComponent:didMount()
self:setState(function(state)
return {
currentTime = currentTime + state.currentTime
currentTime = 1 + state.currentTime
}
end)
end
Expand Down

0 comments on commit c94f9e5

Please sign in to comment.