How important is it to treat depression during pregnancy?

Q. How important is it to treat depression during pregnancy?