sorry to hear she died
She might have picked up a bacterial infection and when fish get sick they go down hill really quickly.
Did you quarantine her before you added her to the tank? It's quite a good idea having a spare container to hold new fish for a week or two. This gives you a chance to monitor them for disease and if something does happen, (they get sick) you can treat them in the quarantine tank instead of having the disease get into the main tank.
A simple quarantine tank can be made from a 40litre plastic storage crate or a small aquarium. Have a plastic box filter full of Ammogon or Zeolite. This stuff absorbs ammonia and helps keep the water clean when the fish are in there. It can be recharged is salt water after use, then dried and packed away for next time.
Just set the quarantine tank up the day before you get the fish and leave them in it for a week or two. If there are no problems then you can move them into the main tank.
The other advantage of having a quarantine container is if a fish does get damaged you can isolate them and give them a chance to recover away from the other fishes.