I really struggled at work when I was PG too. I ended up reducing my hours much earlier than I had planned, so even though I worked until late in my pregnancy I had time off to rest & re-charge.
Make sure you are getting some time out to chill when you are home - easier said than done, I know but it's important