Remove redundant VStack from example code

This commit is contained in:
Max Desiatov 2020-06-18 18:46:43 +01:00 committed by GitHub
parent d2e484291f
commit 2c916e902e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -38,9 +38,9 @@ public struct Counter: View {
Button("Increment") { count += 1 }
Text("\(count)")
}
) : AnyView(HStack {
) : AnyView(
Text("Limit exceeded")
})
)
}
}
```