Just let it grow back, since some roots have been destroyed you can expect some folliage to fall off, but she will grow new leaves in no time.
Be carefull and let the soil get properly dry during 1 full day before your waterings, the plant can take it but fungi remaining spores will not be able to deal with it.
Good luck, if you got a autoflower it will hurt ur yields immensely, if its photoperiodic then you just lost some time but let her sit in veg for a while and its all good.