Skip to content

Commit

Permalink
fix: Fixing compilation issue with Xcode 15 beta (15A5160n). (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
RowbotNZ authored Jun 9, 2023
1 parent cbfaca3 commit ad89356
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Sources/Authenticator/Views/Internal/SignUpInputField.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ struct SignUpInputField: View {
VStack(alignment: .leading) {
AnyView(
field.content($field.value)
.onChange(of: self.field.value) { _ in
validator.validate()
}
.onAppear {
validator.value = $field.value
}
)
.onChange(of: self.field.value) { _ in
validator.validate()
}
.onAppear {
validator.value = $field.value
}
if case .error(let message) = validator.state, let errorMessage = message {
AnyView(
field.errorContent(errorMessage)
Expand Down

0 comments on commit ad89356

Please sign in to comment.