Hi. I didn’t see your application, so, it’s just an assumption.
On the team’s page the type of content of your Repeating Group must be Member, not Team.
And Data source is a search for Members who is in the Current Page’s Team’s Members list (or where User’s Team is Current Page’s Team).
Pay attention that Current Page’s Team’s Members is just one variable (it is a list, but it is still one variable, so repeating group do not iterate this list).