Lost my job 😥

Last Tuesday I lost my job I have been at for the last five years. I didn't see it coming and am heartbroken. I just had my second child in July and have only been back to work for three weeks when they decided to let me go. They told me it was because other people at my job had concerns that my head wasn't at work. I thought  they were my friends. I thought I was doing a great job. Now I'm unemployed and looking for work .  It just sucks and I'm depressed . I don't like change and have never been fired from a job before. My husband has been very supportive but I know I will find work in my field . It just sucks. Sorry I just needed to rant ... Anyone had this happen after having a child and having postpartum depression?