iOS Swift - Animations
Identify the error in this SwiftUI code snippet:
Text("Hello")
.animation(.easeInOut, value: isVisible)
.onTapGesture { isVisible.toggle() }