State Hook – prev and current state the same, bail out