Welcome to HCM!
that is bismuth subsalicylate
it is typically recommended that nursing mothers not use medication containing bismuth subsalicylate because small amounts of the medication are excreted in breast milk and pose a theoretical risk of Reye's syndrome to nursing children.
bismuth subsalicylate compounds are categorized by the American Academy of Pediatrics (AAP) as "drug[s] whose effect on nursing infants is unknown but may be of concern. These compounds contain significant levels of salicylates that could be absorbed by the infant and pose a theoretical risk of Reye's syndrome in the infant from salicylate consumption.
You should wait for 2 hrs more and avoid it in further.