<a onClick={handlePageClick}>
← <span classname{'example'}>Previous</span>
</a>
When a user clicks ←, the event.target is <a>. When a user clicks on the nested <span>, "Previous", the event.target is <span>. How can I have my user click on Previous, but pass the element it is nested in (<a>)?