I did exactly the same thing.
Just refresh the IDE - the duplicate will disappear eventually. In fact, this is how libraries work at present - you have to republish for each change (with a new version) and each time you push a new version you'll get another duplicate until the IDE cleans old versions away.