Work: should I leave or stay?

I hate my current job, it is not helping me carreer wise. However, I am 21 weeks pregnant. Should I stick it out till I go on maternity leave? Or find another job and hope to get hired?