The only way to eliminate the fear is by facing it.You basically helped your daughter overcome the fear on a young age which is absolutely brave from you and your daughter as well.
I would recommend people to do the same if their children have fear of dogs or cats or something similar but in the same time "Be careful".
Keep up the amazing work = )