White spots in herbs are common and harmless when eaten.
However, it may alter the potency of the leaves and affect the taste. If you want the full strength of the spice that you need from your herbs, you may want to skip on the infected ones and opt for healthier leaves.