It seems like react has a state synchronisation misbehaviour. Add the key prop and set it to the checked state, this way you will be able to trigger the rendering.
<input
id={item.id}
type="checkbox"
onClick={() => handleActive(item)}
checked={item.isActiveMarket}
key={item.id}
/>