1 month old stays up all night

Chi

Hi mommas I’m a ftm and yesterday my baby girl was having tummy problems so I gave her some gripe water, we were out grocery shopping then went to my SIL house there she was asleep from maybe 6pm till midnight with one feeding and nappy change as soon as we got home she still slept till maybe 2am then she woke up to eat and to get changed but after that she stayed up until 6am!! 😭 she wasn’t fussing but I was so tired I tried everything to put her to sleep but she didn’t sleep till 6 in the morning then she woke up at 1pm did I mess up her days and night because I let her nap to long??