Chapter 2, 6th Edition, missing `id: \.self`

Hello!
I was following the tutorial for chapter two and I noticed that the spinner wasn’t updating,
Replacing ForEach((0..<leavesCount)) for ForEach((0..<leavesCount), id: \.self) does the trick

Greetings from Argentina :slight_smile:

Hi @jcguidi, thanks for sharing this tip with the community! If it worked for you then it could certainly work for others as well.

Best,
Gina

1 Like

This topic was automatically closed after 166 days. New replies are no longer allowed.