Ainaa - from Singapore, Singapore
First make sure your cupcakes are completely cooled after baking. If you're still finding the icing appears to be "melting" when spread onto the cupcake, it might be too thin. Stir in confectioners' sugar to stiffen the icing. Then make sure to store the cupcakes in a cool, dry place, out of direct sunlight.