Please keep the chocolate away from direct sunlight, and heating unit.
If the Chocolate turned gray or white, that is only sugar bloom. You can enjoy it safely.