Your power supply might be a goner because the PC shut down 'automatically'. But I am not sure since I never had such an accident.
Just let everything dry for a good 24 hours, best some days to be very sure there is no water left on the components. A bit of water does no harm as long as there...