When to use em dashes in place of commas

To minimize transmission—which mainly occurs through the inhalation of infected droplets, many countries have enacted nationwide lockdowns, closing all but ‘essential’ businesses and putting most regular activities on hold.

Is this correct?


Solution 1:

Not correct. Stay consistent with comma or em dash with your sample sentence: 1) "To minimize transmission, which mainly..." 2) "...of infected droplets--many countries..."