event.target vs event.currentTarget
A good explanation of target vs currentTarget
targetis whatever you actually clicked on. It can vary, as this can be within an element that the event was bound to.currentTargetis the element you actually bound the event to. This will never change.
If you are clicking a component and the onClick is on the parent but are getting back the child, try currentTarget