# Pastebin heK8GsD5 handleClickEvent = ( e: React.MouseEvent, callback: () => any ) => { if (!e.ctrlKey) { e.preventDefault(); callback(); } }; --- onClick={(e) => { this.handleClickEvent(e, () => { this.changePage(nextPage); }); }}