is it safe?

i was gifted lots of diaper cakes at my baby shower but a lot of the diapers have glue from the hot glue gun they used on the outside of the diaper … is it safe to use them on baby ? Even if the glue is on the outside of it