24 Weeks Leg Pain

I’m 24+3 days. I have had a couple of leg spasms a couple of weeks ago but nothing since. This morning I woke up and my left calf is sore as if I just had a leg spasm but I didn’t. It hurts to bend my leg straight. I don’t remember getting that with my first son.