Is it safe to take unisom sleep aid gels during pregnancy?

Mandy • 💏2012 🎀👶🏼1/10/14👼🏻+👼🏻+👼🏻+👼🏻2019👼🏻6/30/19,👼🏻5/31/20

I am so worried I never thought to ask my ob about this and have been taking one a night my whole pregnancy is it ok to take just one of the unisom sleep aid gels a night during pregnancy? I have terrrrible insomnia issues already and pregnancy always makes it so much worse