Welcome to HealthcareMagic forum.
Until you have part of nail attached to the nail bed, I would say the nail would grow back with no major intervention.
However the biggest challenge to you will be to prevent infection. It's good that you noticed infection early and corrected it with antifungal spray, however if there are any suspicious signs such as pain, swelling, discharge and so on left, I would suggest you to visit your local physician. A course of antibiotic / antifungal might be needed.
Epsom salt in warm water is reported to be useful in treating a nail infection
. You may try it, however you make sure you dry up and remove any moisture out.
Watch the progress of the nail and seek early medical help
if something is unusual.
Hope this helps.