I am trying to access React ref current with event listener attached on innerHTML components.
My issue: Click function "handleDeviceClick"