Skip to content

Commit 72252a6

Browse files
authored
Update README
1 parent 3ede95b commit 72252a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ Another problem arises when trying to model multiple navigation destinations as
5858

5959
```swift
6060
struct ContentView: View {
61-
var draft: Post?
62-
var settings: Settings?
63-
var userProfile: UserProfile?
61+
@State var draft: Post?
62+
@State var settings: Settings?
63+
@State var userProfile: UserProfile?
6464

6565
var body: some View {
6666
/* Main view omitted */

0 commit comments

Comments
 (0)