Getting this error

ForEach<Array, Optional, ModifiedContent<ModifiedContent<VStack<ModifiedContent<Button, SheetPresentationModifier>>, TransactionalPreferenceTransformModifier>, _PreferenceTransformModifier>>: the ID Optional(“JH8RZLBpUlNZIPVdGgXIpOYnVCj1”) occurs multiple times within the collection, this will give undefined results!

because of this every time I’m logging in it is showing the same data

It’s hard to help without seeing some code.

Though it looks like whatever collection you are looping through in a ForEach doesn’t have unique IDs for all of its members. That is essential.