Water water everywhere...

Came home the other evening to a garage full of water, seems the water inlet valve on my Frigidaire Affinity front load washer hd cracked and had been spewing water for a good long time. Ordered and replced the water inlet valve only to find the washer now will not spin. It seems to go through all the cycles but it won’t turn. I hear a low buzzing noise from what I can only imagine is the motor. Could all that water have killed the motor too? I removed the back and sopped up all the water I could, but is there anything else I should look at before buying a new motor?