Skip to content

Commit

Permalink
Add missing var keyword (#2743)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gleb Shevchenko authored Jan 30, 2024
1 parent 4c6b617 commit 4d9f171
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ your feature's state with ``ObservableState()`` and removing all instances of <d
+@ObservableState
struct State {
- @BindingState var text = ""
- @BindingState isOn = false
- @BindingState var isOn = false
+ var text = ""
+ var isOn = false
}
Expand Down

0 comments on commit 4d9f171

Please sign in to comment.