38 weeks..insomnia

I get 3-4 hours max of sleep a night. Is this harmful to baby? I’m concerned.