Overheated chocolate can seize and become grainy. To salvage it, try adding a small amount of vegetable oil or cocoa butter and gently stir until the texture becomes smoother.