I agree keep trying, but continue to pump if she still is refusing to nurse.
It may pass, but it may not. Unfortunately she may have decided that she like the bottle better since it's easier to get the milk out.
Don't stress about it. Stress can cause a reduction in breastmilk production. Instead just go with the flow and continue to pump. When feeding baby with a bottle, lift your shirt so that your tummy and baby touch. This will help you feel closer to baby to continue to bond (similar to nursing.)
We can't always control when babies decide to wean. If that is the case, I know how disappointing it can be. My son weaned himself at 10 months, but I continued to pump so at least he was still getting the benefits of breastmilk.
Hopefully it will pass, but if it doesn't it's not your fault, so don't stress about it too much!