I have 1 error I can't fix

var body: some View {     

VStack {               

ForEach(ModelCategory.allCases, id: .self) { category in [The error occurs for this ForEach command and it says: "Missing argument for parameter #1 in call"]                  

 //Only display the grid if the category contains items         

if let modelsByCategory = models.get(category: category) {           HorizontalGrid(showbrowse: $showBrowse, title: category.label, items: modelsByCategory)        

 }      

 }    

 }

  }

Replace

id: .self

by

id: \.self
I have 1 error I can't fix
 
 
Q