I\'m trying to call a child component function, the problem is that I have 2 times this child component in the parrent and when I click on any button it calls the first child fu