Skip to content

Commit a7cd427

Browse files
authored
Fix a code typo in DestructuringViews article (pointfreeco#63)
Signed-off-by: Daeyoung Kim <[email protected]> Signed-off-by: Daeyoung Kim <[email protected]>
1 parent 6155d6a commit a7cd427

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftUINavigation/Documentation.docc/Articles/DestructuringViews.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ struct EditView: View {
104104
} else: {
105105
Text("\(self.string)")
106106
Button("Edit") {
107-
self.editableString = self.string
107+
self.editableString = .active(self.string)
108108
}
109109
}
110110
.buttonStyle(.borderless)

0 commit comments

Comments
 (0)