Peeing and then peeing again

I am 31 weeks pregnant and this weird thing started where I pee and then a couple mins later I feel the urge to pee again And I pee again I don’t have a uti is this caused by the baby on my bladder? I have had frequent urination but not like this