Sleeping in bouncer

So the internet says not to let babies sleep in their bouncer due to SIDS. Asking moms now, if baby is fussy and continually grunting and upset laying in bassinet is it terrible to let them sleep in bouncer (mostly so mom can sleep). We found out today baby girl is having an allergy to the formula so hopefully she goes back to sleeping fine in bassinet once that's out of her system but she's so loud that I can't sleep the last two nights. Need some sleep for sanity-sake.