First of all, you should talk to your daughter and ask her to tell you the details or problems that led to the divorce. It is more likely that your daughter will tell you everything to get some moral support.
Make sure you realise her that you love her so much and also that she means a lot to you. It will encourage her and make her feel that she is not alone to face hard time.
Try to let her know a few stories in which similar things happened to few people in your acquaintance which will make her realise that she is not the only one who broke up with her ex-husband.
Also make sure you agree with everything what she tells you and also show your support to her. It will help her in forgetting the disapproving incident of divorce and she will start her journey towards normal life.
Try to keep her busy in different things that she used to like before divorce. Take her to picnic at a hill station or accompany her to watch the latest movie. Bring her ice cream and other things that she likes.
Never try to impose your opinion on her and leave her for a while if she wants to live alone. Be patient and continue realising your daughter that you love her which will help her to get rid of the traumatic feelings.