Ten fish in a ten gallon tank is quite a few, even if they're small. Especially if the tank isn't cycled yet...
You'd have to do pretty frequent water changes (more than once a week) with that much bioload. Small tanks can get polluted pretty quickly.